aboutsummaryrefslogtreecommitdiffstats
path: root/mageiaSync/mageiaSyncExt.py
diff options
context:
space:
mode:
authorpapoteur-mga <yves.brungard_git@gadz.org>2014-09-20 22:30:39 +0200
committerpapoteur-mga <yves.brungard_git@gadz.org>2014-09-20 22:30:39 +0200
commit6c1b753d0433cae98d133c08cd22ca10bba58c86 (patch)
tree483f173a6d419b4dea84dc7c3b5b5f387864dcf9 /mageiaSync/mageiaSyncExt.py
parentd77922f27d0fa7b839e8d166b32ba3456907f5cf (diff)
downloadMageiaSync-6c1b753d0433cae98d133c08cd22ca10bba58c86.tar
MageiaSync-6c1b753d0433cae98d133c08cd22ca10bba58c86.tar.gz
MageiaSync-6c1b753d0433cae98d133c08cd22ca10bba58c86.tar.bz2
MageiaSync-6c1b753d0433cae98d133c08cd22ca10bba58c86.tar.xz
MageiaSync-6c1b753d0433cae98d133c08cd22ca10bba58c86.zip
Suppression of "." in the list of releases
Diffstat (limited to 'mageiaSync/mageiaSyncExt.py')
-rw-r--r--mageiaSync/mageiaSyncExt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mageiaSync/mageiaSyncExt.py b/mageiaSync/mageiaSyncExt.py
index 511ffe3..16b9830 100644
--- a/mageiaSync/mageiaSyncExt.py
+++ b/mageiaSync/mageiaSyncExt.py
@@ -308,7 +308,7 @@ def findRelease(releasePath, password): # List the remote list of relea
while True :
item=process.stdout.readline().rstrip().decode('unicode_escape')
words=item.split()
- if words !=[]:
+ if words !=[] and words[-1] != ".":
releaseList.append(words[-1])
process.poll()
if process.returncode != None: