Red Hat Bugzilla – Bug 230709
API break; doSackSetup now complains if an argument is passed
Last modified: 2014-01-21 17:57:23 EST
Previous versions of yum I was able to do:
doSackSetup(['list', 'of', 'arches'])
However now when I try this I get:
TypeError: doSackSetup() takes exactly 1 argument (2 given)
This is because the signature of doSackSetup has changed to use self, **kwargs
Changing my api call to doSackSetup(archlist=['list', 'of', 'arches']) seems to
be a work around.
fixed in cvs. Thanks for the catch.
*** Bug 230863 has been marked as a duplicate of this bug. ***