From a4338da26b2de1cdc322e819a95c62477f2a130f Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Wed, 3 Aug 2011 12:59:02 +0200 Subject: [PATCH] Fix lint errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It turns out that the only use of the operator module was for itemgetter, so patch eb62069e should have removed that import too. Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: RenΓ© Nussbaumer <rn@google.com> --- lib/build/sphinx_ext.py | 1 - lib/locking.py | 1 - lib/opcodes.py | 1 - 3 files changed, 3 deletions(-) diff --git a/lib/build/sphinx_ext.py b/lib/build/sphinx_ext.py index a336695a7..8e4b4ccc8 100644 --- a/lib/build/sphinx_ext.py +++ b/lib/build/sphinx_ext.py @@ -23,7 +23,6 @@ """ -import operator from cStringIO import StringIO import docutils.statemachine diff --git a/lib/locking.py b/lib/locking.py index df366583e..9f2477150 100644 --- a/lib/locking.py +++ b/lib/locking.py @@ -32,7 +32,6 @@ import errno import weakref import logging import heapq -import operator import itertools from ganeti import errors diff --git a/lib/opcodes.py b/lib/opcodes.py index cb55d6e46..bfe45a754 100644 --- a/lib/opcodes.py +++ b/lib/opcodes.py @@ -35,7 +35,6 @@ opcodes. import logging import re -import operator from ganeti import compat from ganeti import constants -- GitLab