[PATCH] Remove unused STATE_* imports
- From: Vincent Legoll <vincent legoll gmail com>
- To: meld-list gnome org
- Subject: [PATCH] Remove unused STATE_* imports
- Date: Thu, 26 Feb 2009 21:56:54 +0100
Keep only the used ones: STATE_{ERROR,EMPTY,MAX}
don't clutter the namespace needlessly
--
Vincent Legoll
Index: tree.py
===================================================================
--- tree.py (révision 1182)
+++ tree.py (copie de travail)
@@ -22,10 +22,7 @@
COL_PATH, COL_STATE, COL_TEXT, COL_ICON, COL_END = range(5)
-from vc._vc import STATE_IGNORED, STATE_NONE, STATE_NORMAL, STATE_NOCHANGE, \
- STATE_ERROR, STATE_EMPTY, STATE_NEW, \
- STATE_MODIFIED, STATE_CONFLICT, STATE_REMOVED, \
- STATE_MISSING, STATE_MAX
+from vc._vc import STATE_ERROR, STATE_EMPTY, STATE_MAX
load = lambda x,s=14: gnomeglade.load_pixbuf( paths.share_dir("glade2/pixmaps",x), s)
pixbuf_folder = load("tree-folder-normal.png", 20)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]