Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
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
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
Depends On:
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:
Last Closed: 2007-03-02 20:45:35 UTC

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

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.