From: Chris Lamb Date: Fri, 30 Oct 2009 13:48:03 +0000 (+0000) Subject: Remove duplicated 'commands' import. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2738598ffe0f2913c49bc6fc6d1612f4e81bb26f;p=dak Remove duplicated 'commands' import. Signed-off-by: Chris Lamb --- diff --git a/daklib/utils.py b/daklib/utils.py index 6a0e5321..0c628fb4 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)