Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 160705 Details for
Bug 250908
yum crash with empty repository
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fix for empty repo crash
yum-empty-repo.patch (text/plain), 997 bytes, created by
Ed Swierk
on 2007-08-05 00:39:59 UTC
(
hide
)
Description:
Fix for empty repo crash
Filename:
MIME Type:
Creator:
Ed Swierk
Created:
2007-08-05 00:39:59 UTC
Size:
997 bytes
patch
obsolete
>--- /usr/lib/python2.5/site-packages/yum/__init__.py1 2007-07-11 10:15:39.000000000 -0700 >+++ /usr/lib/python2.5/site-packages/yum/__init__.py 2007-07-11 10:43:36.000000000 -0700 >@@ -336,7 +336,7 @@ > """populates the package sacks for information from our repositories, > takes optional archlist for archs to include""" > >- if self._pkgSack and thisrepo is None: >+ if self._pkgSack is not None and thisrepo is None: > self.verbose_logger.log(logginglevels.DEBUG_4, > 'skipping reposetup, pkgsack exists') > return self._pkgSack >@@ -505,7 +505,7 @@ > > # I can't think of a nice way of doing this, we have to have the sack here > # first or the below does nothing so... >- if self.pkgSack: >+ if self.pkgSack is not None: > for repo in self.repos.listEnabled(): > if repo in repo.sack.added.keys(): > if 'filelists' in repo.sack.added[repo]:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 250908
: 160705 |
160706