3 commits - backend/common backend/server backend/spacewalk-backend.spec rel-eng/packages

Michael Mraka mmraka at fedoraproject.org
Fri Jun 15 13:04:11 UTC 2012


 backend/common/rhn_deb.py            |    3 +++
 backend/server/importlib/userAuth.py |    6 ------
 backend/spacewalk-backend.spec       |    6 +++++-
 rel-eng/packages/spacewalk-backend   |    2 +-
 4 files changed, 9 insertions(+), 8 deletions(-)

New commits:
commit ab1a3968cd1333e323e79d2a5abc50c4e6f2fbd8
Author: Michael Mraka <michael.mraka at redhat.com>
Date:   Fri Jun 15 15:04:02 2012 +0200

    Automatic commit of package [spacewalk-backend] release [1.8.35-1].

diff --git a/backend/spacewalk-backend.spec b/backend/spacewalk-backend.spec
index 8421645..b7ff9c2 100644
--- a/backend/spacewalk-backend.spec
+++ b/backend/spacewalk-backend.spec
@@ -12,7 +12,7 @@ Name: spacewalk-backend
 Summary: Common programs needed to be installed on the Spacewalk servers/proxies
 Group: Applications/Internet
 License: GPLv2
-Version: 1.8.34
+Version: 1.8.35
 Release: 1%{?dist}
 URL:       https://fedorahosted.org/spacewalk
 Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -663,6 +663,10 @@ rm -f %{rhnconf}/rhnSecret.py*
 
 # $Id$
 %changelog
+* Fri Jun 15 2012 Michael Mraka <michael.mraka at redhat.com> 1.8.35-1
+- fixed Instance of 'deb_Header' has no 'keys' member
+- removed unreachable code
+
 * Tue Jun 12 2012 Tomas Lestach <tlestach at redhat.com> 1.8.34-1
 - 804106 - do not entitle virt guests twice during registration
 
diff --git a/rel-eng/packages/spacewalk-backend b/rel-eng/packages/spacewalk-backend
index 2ef1035..deb64f0 100644
--- a/rel-eng/packages/spacewalk-backend
+++ b/rel-eng/packages/spacewalk-backend
@@ -1 +1 @@
-1.8.34-1 backend/
+1.8.35-1 backend/


commit 03902abd8f918e160378c1bc10bf60a2947a6eaa
Author: Michael Mraka <michael.mraka at redhat.com>
Date:   Thu Jun 14 10:31:55 2012 +0200

    fixed Instance of 'deb_Header' has no 'keys' member

diff --git a/backend/common/rhn_deb.py b/backend/common/rhn_deb.py
index db2009a..a3b9ef0 100644
--- a/backend/common/rhn_deb.py
+++ b/backend/common/rhn_deb.py
@@ -86,6 +86,9 @@ class deb_Header:
     def __getitem__(self, name):
         return self.hdr.get(str(name))
 
+    def __getattr__(self, name):
+        return getattr(self.hdr, name)
+
 class DEB_Package(A_Package):
     def __init__(self, input_stream = None):
         A_Package.__init__(self, input_stream)


commit e3f82f901e2e056208daf2552a3609ffb2c4ce33
Author: Michael Mraka <michael.mraka at redhat.com>
Date:   Fri Jun 15 15:00:35 2012 +0200

    removed unreachable code

diff --git a/backend/server/importlib/userAuth.py b/backend/server/importlib/userAuth.py
index fecd877..2affccc 100644
--- a/backend/server/importlib/userAuth.py
+++ b/backend/server/importlib/userAuth.py
@@ -106,12 +106,6 @@ class UserAuth:
             # Satellites are not allowwd to push in the null org
             raise rhnFault(4, 
                 _("You are not authorized to manage packages in the null org"))
-            if not self.isSuperuser():
-                # Nope
-                raise rhnFault(4, 
-                    _("You are not authorized to manage packages in the null org"))
-
-            org_id = None
 
         if org_id and self.org_id != org_id:
             # Not so fast...




More information about the spacewalk-commits mailing list