Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 139071 Details for
Bug 202911
sys-apps/portage traceback w/ sqlite cache on database lock
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
show the errno so that we know how to detect this error
errno.patch (text/plain), 615 bytes, created by
Zac Medico
on 2007-12-22 02:03:11 UTC
(
hide
)
Description:
show the errno so that we know how to detect this error
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2007-12-22 02:03:11 UTC
Size:
615 bytes
patch
obsolete
>Index: pym/cache/cache_errors.py >=================================================================== >--- pym/cache/cache_errors.py (revision 9039) >+++ pym/cache/cache_errors.py (working copy) >@@ -9,8 +9,11 @@ > def __init__(self, class_name, error): > self.error, self.class_name = error, class_name > def __str__(self): >+ error_str = "'%s'" % str(self.error) >+ if hasattr(self.error, "errno"): >+ error_str += " errno=%d" % self.error.errno > return "Creation of instance %s failed due to %s" % \ >- (self.class_name, str(self.error)) >+ (self.class_name, error_str) > > > class CacheCorruption(CacheError):
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 202911
: 139071