-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
This is against devel, it was causing me to be unable to log into the webui.
- -- John Eckersberg Production Operations Red Hat, Inc.
From 1344b3133621f109411d067a541d8ea4b59812c4 Mon Sep 17 00:00:00 2001
From: John Eckersberg jeckersb@redhat.com Date: Thu, 4 Sep 2008 20:52:15 -0400 Subject: [PATCH] Fix bug introduced in a6dd9a57 where variable 'rc' is referenced before assignment
--- cobbler/api.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cobbler/api.py b/cobbler/api.py index 01658a6..817877a 100644 --- a/cobbler/api.py +++ b/cobbler/api.py @@ -487,16 +487,16 @@ class BootAPI: """ (Remote) access control. """ - self.log("authenticate",[user,rc]) rc = self.authn.authenticate(self,user,password) + self.log("authenticate",[user,rc]) return rc
def authorize(self,user,resource,arg1=None,arg2=None): """ (Remote) access control. """ - self.log("authorize",[user,resource,arg1,arg2,rc],debug=True) rc = self.authz.authorize(self,user,resource,arg1,arg2,acl_engine=self.acl_engine) + self.log("authorize",[user,resource,arg1,arg2,rc],debug=True) return rc
def build_iso(self,iso=None,profiles=None,systems=None,tempdir=None):
John Eckersberg wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
This is against devel, it was causing me to be unable to log into the webui.
John Eckersberg Production Operations Red Hat, Inc.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkjAhCQACgkQdxt4pd4ztYscVACgkJVytd/16TKNuB1qahImqaIB u5cAninidytJsalYhe9NRjQEzG6wjDTM =U1hM -----END PGP SIGNATURE-----
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
Thanks! Applying to devel shortly -- today's focus is on getting 1.2.2 (master) out and then we'll start doing more with devel and get that ball rolling again.
Writing some automated tests for the Web UI also seems interesting for the future -- I will have to ping some of my QA friends for recommendations.
--Michael
cobbler@lists.fedorahosted.org