diff options
Diffstat (limited to 'logilab/common/shellutils.py')
-rw-r--r-- | logilab/common/shellutils.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/logilab/common/shellutils.py b/logilab/common/shellutils.py index 792ae45..d03ae16 100644 --- a/logilab/common/shellutils.py +++ b/logilab/common/shellutils.py @@ -221,6 +221,7 @@ def unzip(archive, destdir): outfile.close() +@deprecated('Use subprocess.Popen instead') class Execute: """This is a deadlock safe version of popen2 (no stdin), that returns an object with errorlevel, out and err. @@ -231,8 +232,6 @@ class Execute: self.out, self.err = cmd.communicate() self.status = os.WEXITSTATUS(cmd.returncode) -Execute = deprecated('Use subprocess.Popen instead')(Execute) - class ProgressBar(object): """A simple text progression bar.""" |