Blob Blame History Raw
diff --git a/rhnplugin.py b/rhnplugin.py
index 88fb354..a2681c2 100644
--- a/rhnplugin.py
+++ b/rhnplugin.py
@@ -384,7 +384,7 @@ class RhnRepo(YumRepository):
     # Override the 'private' __get method so we can do our auth stuff.
     def _getFile(self, url=None, relative=None, local=None,
         start=None, end=None, copy_local=0, checkfunc=None, text=None,
-        reget='simple', cache=True, size=None):
+        reget='simple', cache=True, size=None, **kwargs):
         try:
             try:
                 return self._noExceptionWrappingGet(url, relative, local,
diff --git a/yum-rhn-plugin.spec b/yum-rhn-plugin.spec
index 006b9b1..1ced7dc 100644
--- a/yum-rhn-plugin.spec
+++ b/yum-rhn-plugin.spec
@@ -1,7 +1,7 @@
 Summary: Spacewalk support for yum
 Name: yum-rhn-plugin
 Version: 2.0.1
-Release: 5%{?dist}
+Release: 6%{?dist}
 License: GPLv2
 Group: System Environment/Base
 Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -70,6 +70,9 @@ fi
 %doc LICENSE
 
 %changelog
+* Mon Jul 25 2016 Tomas Kasparek <tkasparek@redhat.com> 2.0.1-6
+- Resolves: #1359087 - expect additional arguments (tkasparek@redhat.com)
+
 * Wed Sep 17 2014 Stephen Herr <sherr@redhat.com> 2.0.1-5
 - Related: #1115516 - don't encode proxy url if not set (mzazrivec@redhat.com)
 - Related: #1115516 - encode proxy url when passing it to urlgrabber