diff options
Diffstat (limited to 'logilab/common/shellutils.py')
-rw-r--r-- | logilab/common/shellutils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/logilab/common/shellutils.py b/logilab/common/shellutils.py index f8914da..9950deb 100644 --- a/logilab/common/shellutils.py +++ b/logilab/common/shellutils.py @@ -38,7 +38,7 @@ from _io import StringIO from typing import Any, Callable, Optional, List, Union, Iterator, Tuple from logilab.common import STD_BLACKLIST, _handle_blacklist -from logilab.common.deprecation import deprecated +from logilab.common.deprecation import callable_deprecated class tempdir(object): @@ -238,7 +238,7 @@ def unzip(archive, destdir): outfile.close() -@deprecated("Use subprocess.Popen instead") +@callable_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. |