From ab2ca8022e4bd89e87e0b7ce908022e6df350866 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Tue, 25 Jan 2011 18:46:26 +0100 Subject: Fix assorted bugs found by pylint --- ipapython/ipautil.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ipapython') diff --git a/ipapython/ipautil.py b/ipapython/ipautil.py index 69a410f43..88d083654 100644 --- a/ipapython/ipautil.py +++ b/ipapython/ipautil.py @@ -41,9 +41,6 @@ import datetime from ipapython import config try: from subprocess import CalledProcessError - class CalledProcessError(subprocess.CalledProcessError): - def __init__(self, returncode, cmd): - super(CalledProcessError, self).__init__(returncode, cmd) except ImportError: # Python 2.4 doesn't implement CalledProcessError class CalledProcessError(Exception): @@ -876,6 +873,7 @@ class ItemCompleter: self.items = items self.initial_input = None self.item_delims = ' \t,' + self.operator = '=' self.split_re = re.compile('[%s]+' % self.item_delims) def open(self): -- cgit