]> git.decadent.org.uk Git - dak.git/commitdiff
Remove duplicated 'commands' import.
authorChris Lamb <lamby@debian.org>
Fri, 30 Oct 2009 13:48:03 +0000 (13:48 +0000)
committerChris Lamb <lamby@debian.org>
Fri, 30 Oct 2009 14:29:57 +0000 (14:29 +0000)
Signed-off-by: Chris Lamb <lamby@debian.org>
daklib/utils.py

index 6a0e5321545a943ea285f8e52b728335591cb5e7..0c628fb4a67b0479de35d2136125077c827d6738 100755 (executable)
@@ -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)