[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master 13/23] Remove duplicated 'commands' import.



Signed-off-by: Chris Lamb <lamby@debian.org>
---
 daklib/utils.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/daklib/utils.py b/daklib/utils.py
index 6a0e532..0c628fb 100755
--- a/daklib/utils.py
+++ b/daklib/utils.py
@@ -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)
-- 
1.6.3.3



Reply to: