diff options
author | Papoteur <papoteur@mageialinux-online.org> | 2016-05-05 15:43:42 +0200 |
---|---|---|
committer | Papoteur <papoteur@mageialinux-online.org> | 2016-05-05 15:43:42 +0200 |
commit | bfa0ea4ee5af8bdd068a072aaf52a321104dc7eb (patch) | |
tree | 598bd7abd717eed4d1d84e960b59e29195fdd5c3 /mageiaSync | |
parent | f15791e56edf9d68f8c4daf26aafef91a618393e (diff) | |
download | MageiaSync-bfa0ea4ee5af8bdd068a072aaf52a321104dc7eb.tar MageiaSync-bfa0ea4ee5af8bdd068a072aaf52a321104dc7eb.tar.gz MageiaSync-bfa0ea4ee5af8bdd068a072aaf52a321104dc7eb.tar.bz2 MageiaSync-bfa0ea4ee5af8bdd068a072aaf52a321104dc7eb.tar.xz MageiaSync-bfa0ea4ee5af8bdd068a072aaf52a321104dc7eb.zip |
List only directories in release dropdown (preferences).
Diffstat (limited to 'mageiaSync')
-rw-r--r-- | mageiaSync/mageiaSyncExt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mageiaSync/mageiaSyncExt.py b/mageiaSync/mageiaSyncExt.py index a477753..5c79ec9 100644 --- a/mageiaSync/mageiaSyncExt.py +++ b/mageiaSync/mageiaSyncExt.py @@ -312,7 +312,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 !=[] and words[-1] != ".": + if words !=[] and words[-1] != "." and words[0].startswith('d'): releaseList.append(words[-1]) process.poll() if process.returncode != None: |