Bug 230734 - AttributeError: can't set attribute when trying to set a pkgSack to None
AttributeError: can't set attribute when trying to set a pkgSack to None
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-02 10:48 EST by Jesse Keating
Modified: 2014-01-21 17:57 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-03-02 15:45:35 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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 10:48:28 EST
for sack in self.pkgSack.sacks.values():
            sack.added = {}
            sack.excludes = {}

        self.pkgSack.excludes = {}

        # We need to reset the yum object
        self.pkgSack = None

        # Setup the sack with just src arch
        self.doSackSetup(archlist=['src'])

I have this code snippit in pungi in order to reset the yum object to use the
src arch list instead of whatever arch it was using for this run.  The error
happens at the 'self.pkgSack = None' line.
Comment 1 Jeremy Katz 2007-03-02 15:45:35 EST
Fixed in upstream CVS

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