diff options
author | necoro <> | 2007-07-07 02:27:31 +0000 |
---|---|---|
committer | necoro <> | 2007-07-07 02:27:31 +0000 |
commit | 91225d6ff5bc70cd76d0cf54f35a1cf6186b538b (patch) | |
tree | cd6514fdf518f4d54beafbbb64fefd8bcbc16bd5 /portato/gui/gui_helper.py | |
parent | d1b6cf6e24b3f2ca310a07313a162bc8f790679f (diff) | |
download | portato-91225d6ff5bc70cd76d0cf54f35a1cf6186b538b.tar.gz portato-91225d6ff5bc70cd76d0cf54f35a1cf6186b538b.tar.bz2 portato-91225d6ff5bc70cd76d0cf54f35a1cf6186b538b.zip |
Some documentation work
Diffstat (limited to '')
-rw-r--r-- | portato/gui/gui_helper.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/portato/gui/gui_helper.py b/portato/gui/gui_helper.py index f914b55..3c9edce 100644 --- a/portato/gui/gui_helper.py +++ b/portato/gui/gui_helper.py @@ -459,11 +459,10 @@ class EmergeQueue: self.title_update(title) time.sleep(0.5) - self.process = None if self.title_update: self.title_update(None) - @plugin.hook("after_emerge", packages) + @plugin.hook("after_emerge", packages = packages, retcode = self.process.returncode) def update_packages(): for p in packages: if p in ["world", "system"]: continue @@ -472,6 +471,7 @@ class EmergeQueue: debug("Category %s refreshed" % cat) update_packages() + self.process = None def _emerge (self, options, packages, it, command = None): """Calls emerge and updates the terminal. @@ -485,7 +485,7 @@ class EmergeQueue: @param command: the command to execute - default is "/usr/bin/python /usr/bin/emerge" @type command: string[]""" - @plugin.hook("emerge", packages, command) + @plugin.hook("emerge", packages = packages, command = command, console = self.console) def sub_emerge(command): if command is None: command = system.get_merge_command() |