From bfa0ea4ee5af8bdd068a072aaf52a321104dc7eb Mon Sep 17 00:00:00 2001 From: Papoteur Date: Thu, 5 May 2016 15:43:42 +0200 Subject: List only directories in release dropdown (preferences). --- mageiaSync/mageiaSyncExt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.1