diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2009-09-03 15:21:23 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2009-09-03 15:21:23 +0200 |
| commit | 7acb16fc4baa43cf2cbbc4de948973bdc099d878 (patch) | |
| tree | 87617e129d351c03e73ed54cff019bdd5a5aec8d | |
| parent | 2ca7c7acd3f47dc7da07fd8ad77df8c0c6c84735 (diff) | |
| download | python-apt-7acb16fc4baa43cf2cbbc4de948973bdc099d878.tar.gz | |
apt/progress/__init__.py: doc string update for run()
| -rw-r--r-- | apt/progress/__init__.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apt/progress/__init__.py b/apt/progress/__init__.py index 97090643..ca60810f 100644 --- a/apt/progress/__init__.py +++ b/apt/progress/__init__.py @@ -308,7 +308,11 @@ class InstallProgress(DumbInstallProgress): return res def run(self, pm): - """Start installing.""" + """Start installing. + + Returns the PackageManager status: + (pm.ResultCompleted, pm.ResultFailed, pm.ResultIncomplete) + """ pid = self.fork() if pid == 0: # pm.DoInstall might raise a exception, |
