Bug 230734 - AttributeError: can't set attribute when trying to set a pkgSack to None
Summary: AttributeError: can't set attribute when trying to set a pkgSack to None
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-03-02 15:48 UTC by Jesse Keating
Modified: 2014-01-21 22:57 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-03-02 20:45:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jesse Keating 2007-03-02 15:48:28 UTC
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 20:45:35 UTC
Fixed in upstream CVS


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