summaryrefslogtreecommitdiff
path: root/portato/gui/windows/main.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-04-07 23:45:48 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-04-07 23:45:48 +0200
commit4ae9bd9a9c6ffca3301858b3c8d95ca4cf2b78dc (patch)
tree0382ee39c1f362512b201c7dbdaade506aeddf74 /portato/gui/windows/main.py
parent87440084fc62f1ebb1a2ad96041740df994071f4 (diff)
downloadportato-4ae9bd9a9c6ffca3301858b3c8d95ca4cf2b78dc.tar.gz
portato-4ae9bd9a9c6ffca3301858b3c8d95ca4cf2b78dc.tar.bz2
portato-4ae9bd9a9c6ffca3301858b3c8d95ca4cf2b78dc.zip
Fixed pyflakes errors
Diffstat (limited to '')
-rw-r--r--portato/gui/windows/main.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py
index 103b792..a0127e0 100644
--- a/portato/gui/windows/main.py
+++ b/portato/gui/windows/main.py
@@ -17,17 +17,17 @@ import gtk
import gobject
# other
-import os.path
+import os
import itertools as itt
from collections import defaultdict
# our backend stuff
from ...backend import flags, system # must be the first to avoid circular deps
from ... import get_listener, plugin
-from ...helper import debug, warning, error, info, unique_array
+from ...helper import debug, warning, error, info
from ...session import Session
from ...db import Database
-from ...constants import CONFIG_LOCATION, VERSION, APP_ICON, ICON_DIR
+from ...constants import CONFIG_LOCATION, VERSION, APP_ICON
from ...backend.exceptions import PackageNotFoundException, BlockedException, VersionsNotFoundException
# more GUI stuff
@@ -186,12 +186,12 @@ class PackageTable:
# useflags
flaglist = list(itt.ifilterfalse(pkg.use_expanded, pkg.get_iuse_flags()))
flaglist.sort()
- flags = ", ".join(flaglist)
+ flagstr = ", ".join(flaglist)
- if flags:
+ if flagstr:
self.useFlagsLL.show()
self.useFlagsLabel.show()
- self.useFlagsLabel.set_label(flags)
+ self.useFlagsLabel.set_label(flagstr)
else:
self.useFlagsLL.hide()
self.useFlagsLabel.hide()