client/tools/rhnpush/rhnpush.spec | 6 +++++-
client/tools/rhnpush/uploadLib.py | 13 +++++++++++--
rel-eng/packages/rhnpush | 2 +-
3 files changed, 17 insertions(+), 4 deletions(-)
New commits:
commit cae8333594c5ec977275ec5d66a4cf2e65e78d6c
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Dec 17 11:27:08 2012 +0100
Automatic commit of package [rhnpush] release [5.5.58-1].
diff --git a/client/tools/rhnpush/rhnpush.spec b/client/tools/rhnpush/rhnpush.spec
index 5b2f2fe..99bb8c5 100644
--- a/client/tools/rhnpush/rhnpush.spec
+++ b/client/tools/rhnpush/rhnpush.spec
@@ -4,7 +4,7 @@ Name: rhnpush
Group: Applications/System
License: GPLv2
URL:
http://fedorahosted.org/spacewalk
-Version: 5.5.57
+Version: 5.5.58
Release: 1%{?dist}
Source0:
https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -75,6 +75,10 @@ spacewalk-pylint $RPM_BUILD_ROOT%{rhnroot}
%doc COPYING
%changelog
+* Mon Dec 17 2012 Michael Mraka <michael.mraka(a)redhat.com> 5.5.58-1
+- restored old passwd based API functions
+- fixed Bad indentation. Found 11 spaces, expected 12
+
* Fri Dec 14 2012 Michael Mraka <michael.mraka(a)redhat.com> 5.5.57-1
- 873541 - switch back to /XP handler if /APP is not available
diff --git a/rel-eng/packages/rhnpush b/rel-eng/packages/rhnpush
index 061e7af..90570d1 100644
--- a/rel-eng/packages/rhnpush
+++ b/rel-eng/packages/rhnpush
@@ -1 +1 @@
-5.5.57-1 client/tools/rhnpush/
+5.5.58-1 client/tools/rhnpush/
commit 6b12779d2e59c8bbe7ed2ab7cac93621e6b83d5a
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Dec 17 11:24:42 2012 +0100
restored old passwd based API functions
Fixing
E0602:183:UploadClass._listChannelSource: Undefined variable
'listChannelSource'
E0602:193:UploadClass._listChannel: Undefined variable 'listChannel'
E0602:318:UploadClass._listMissingSourcePackages: Undefined variable
'listMissingSourcePackages'
partial revert of 0f10d4045e87f568a36dc46ed23fc11e7d183dba
diff --git a/client/tools/rhnpush/uploadLib.py b/client/tools/rhnpush/uploadLib.py
index 611d5b3..54f64ca 100644
--- a/client/tools/rhnpush/uploadLib.py
+++ b/client/tools/rhnpush/uploadLib.py
@@ -645,12 +645,21 @@ def parseXMLRPCfault(fault):
return ServerFault(faultCode, "", fault.faultString)
# pylint: disable=C0103
+def listChannel(server, username, password, channels):
+ return call(server.packages.listChannel, channels, username, password)
+
def listChannelBySession(server, session_string, channels):
return call(server.packages.listChannelBySession, channels, session_string)
+def listChannelSource(server, username, password, channels):
+ return call(server.packages.listChannelSource, channels, username, password)
+
def listChannelSourceBySession(server, session_string, channels):
return call(server.packages.listChannelSourceBySession, channels, session_string)
+def listMissingSourcePackages(server, username, password, channels):
+ return call(server.packages.listMissingSourcePackages, channels, username, password)
+
def listMissingSourcePackagesBySession(server, session_string, channels):
return call(server.packages.listMissingSourcePackagesBySession, channels,
session_string)
commit e895462e199f8f521ef723aff93fb8b4335da5c4
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Dec 17 11:22:26 2012 +0100
fixed Bad indentation. Found 11 spaces, expected 12
diff --git a/client/tools/rhnpush/uploadLib.py b/client/tools/rhnpush/uploadLib.py
index affc8c9..611d5b3 100644
--- a/client/tools/rhnpush/uploadLib.py
+++ b/client/tools/rhnpush/uploadLib.py
@@ -312,10 +312,10 @@ class UploadClass:
def _listMissingSourcePackages(self):
if self.use_session:
- return listMissingSourcePackagesBySession(self.server,
+ return listMissingSourcePackagesBySession(self.server,
self.session.getSessionString(), self.channels)
else:
- return listMissingSourcePackages(self.server,
+ return listMissingSourcePackages(self.server,
self.username, self.password, self.channels)
def get_missing_source_packages(self):