summaryrefslogtreecommitdiffstats
path: root/layman/action.py
diff options
context:
space:
mode:
authorGunnar Wrobel <p@rdus.de>2007-09-12 04:51:29 +0000
committerGunnar Wrobel <p@rdus.de>2007-09-12 04:51:29 +0000
commit3718a4c52f8d1b09f9e3dedce1a748efbed9b933 (patch)
treeaf149e67b2a466a162bb4add5c7bb4dde6a62c9b /layman/action.py
parent1932328d4232172cdf399d34163342fe98a66a41 (diff)
downloadlayman-3718a4c52f8d1b09f9e3dedce1a748efbed9b933.tar.gz
layman-3718a4c52f8d1b09f9e3dedce1a748efbed9b933.tar.bz2
layman-3718a4c52f8d1b09f9e3dedce1a748efbed9b933.zip
Fixed bug #192190, update to version 1.1.1.v1.1.1
Diffstat (limited to 'layman/action.py')
-rw-r--r--layman/action.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/layman/action.py b/layman/action.py
index b8259a5..428c061 100644
--- a/layman/action.py
+++ b/layman/action.py
@@ -92,12 +92,12 @@ class Sync:
self.selection = config['sync']
+ if config['sync_all'] or 'ALL' in self.selection:
+ self.selection = self.db.overlays.keys()
+
enc = sys.getfilesystemencoding()
self.selection = [i.decode(enc) for i in self.selection]
- if config['sync_all'] or 'ALL' in self.selection:
- self.selection = self.db.overlays.keys()
-
def run(self):
'''Synchronize the overlays.'''