提交 2738598f 编写于 作者: C Chris Lamb

Remove duplicated 'commands' import.

Signed-off-by: NChris Lamb <lamby@debian.org>
上级 e6ff9b65
......@@ -64,7 +64,6 @@ known_hashes = [("sha1", apt_pkg.sha1sum, (1, 8)),
# Monkeypatch commands.getstatusoutput as it returns a "0" exit code in
# all situations under lenny's Python.
import commands
def dak_getstatusoutput(cmd):
pipe = subprocess.Popen(cmd, shell=True, universal_newlines=True,
stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册