From 2738598ffe0f2913c49bc6fc6d1612f4e81bb26f Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Fri, 30 Oct 2009 13:48:03 +0000 Subject: [PATCH] Remove duplicated 'commands' import. Signed-off-by: Chris Lamb --- daklib/utils.py | 1 - 1 file changed, 1 deletion(-) 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) -- 2.39.5