Seth Vidal c509c44
--- a/repoclosure.py
Seth Vidal c509c44
+++ b/repoclosure.py
Seth Vidal c509c44
@@ -63,8 +63,10 @@ def parseArgs():
Seth Vidal c509c44
     (opts, args) = parser.parse_args()
Seth Vidal c509c44
     return (opts, args)
Seth Vidal c509c44
 
Seth Vidal c509c44
+#  Note that this is a "real" API, used by spam-o-matic etc.
Seth Vidal c509c44
+# so we have to do at least some API guarantee stuff.
Seth Vidal c509c44
 class RepoClosure(yum.YumBase):
Seth Vidal c509c44
-    def __init__(self, pkgonly, arch = [], config = "/etc/yum.conf", builddeps = False ):
Seth Vidal c509c44
+    def __init__(self, arch=[], config="/etc/yum.conf", builddeps=False, pkgonly=None):
Seth Vidal c509c44
         yum.YumBase.__init__(self)
Seth Vidal c509c44
         self.logger = logging.getLogger("yum.verbose.repoclosure")
Seth Vidal c509c44
         self.arch = arch