Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 134097 Details for
Bug 184118
emaint cleanresume
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
emaint.patch (text/plain), 1.26 KB, created by
Arfrever Frehtes Taifersar Arahesis (RETIRED)
on 2007-10-22 02:50:48 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Arfrever Frehtes Taifersar Arahesis (RETIRED)
Created:
2007-10-22 02:50:48 UTC
Size:
1.26 KB
patch
obsolete
>Index: bin/emaint >=================================================================== >--- bin/emaint (wersja 8221) >+++ bin/emaint (kopia robocza) >@@ -343,6 +343,30 @@ > def display(self): > raise NotImplementedError(self) > >+class ResumeLists(object): >+ def name(): >+ return "resumelists" >+ name = staticmethod(name) >+ >+ def check(self, onProgress=None): >+ if portage.mtimedb.has_key("resume"): >+ print "Main resume list is available" >+ else: >+ print "Main resume list isn't available" >+ if portage.mtimedb.has_key("resume_backup"): >+ print "Backup resume list is available" >+ else: >+ print "Backup resume list isn't available" >+ >+ def fix(self, onProgress=None): >+ if portage.mtimedb.has_key("resume"): >+ print "Main resume list is being deleted" >+ del portage.mtimedb["resume"] >+ if portage.mtimedb.has_key("resume_backup"): >+ print "Backup resume list is being deleted" >+ del portage.mtimedb["resume_backup"] >+ portage.commit_mtimedb() >+ > def emaint_main(myargv): > > # TODO: Create a system that allows external modules to be added without >@@ -351,7 +375,8 @@ > "world" : WorldHandler, > "binhost":BinhostHandler, > "moveinst":MoveInstalled, >- "movebin":MoveBinary >+ "movebin":MoveBinary, >+ "resumelists":ResumeLists > } > > module_names = modules.keys()
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 184118
: 134097