backend/satellite_tools/satCerts.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 7c5694297bdf5767eb2346840480de4092497c22
Author: Pradeep Kilambi <pkilambi(a)redhat.com>
Date: Tue Mar 31 20:12:11 2009 -0400
minor default args clean up
diff --git a/backend/satellite_tools/satCerts.py b/backend/satellite_tools/satCerts.py
index d631a11..101c43a 100644
--- a/backend/satellite_tools/satCerts.py
+++ b/backend/satellite_tools/satCerts.py
@@ -556,7 +556,7 @@ def create_first_private_chan_family():
org=1, url="First Org Created")
-def verify_family_permissions():
+def verify_family_permissions(orgid=1):
"""
Verify channel family permissions for first org
"""
@@ -573,7 +573,7 @@ def verify_family_permissions():
"""
h = rhnSQL.prepare(_query_lookup_cfid)
- cfid = h.execute(orgid = 1)
+ cfid = h.execute(orgid = orgid)
if not cfid:
return
@@ -584,7 +584,7 @@ def verify_family_permissions():
"""
h = rhnSQL.prepare(_query_create_priv_chfam)
- h.execute(id=cfid['id'], org_id=1)
+ h.execute(id=cfid['id'], org_id=orgid)
if __name__ == '__main__':
Show replies by date