Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 230709 - API break; doSackSetup now complains if an argument is passed
API break; doSackSetup now complains if an argument is passed
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
: 230863 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2007-03-02 08:40 EST by Jesse Keating
Modified: 2014-01-21 17:57 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-03-02 09:11:44 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jesse Keating 2007-03-02 08:40:13 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.
Comment 1 Seth Vidal 2007-03-02 09:11:44 EST
fixed in cvs. Thanks for the catch.
Comment 2 Jeremy Katz 2007-03-05 15:12:06 EST
*** Bug 230863 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.