summaryrefslogtreecommitdiff
path: root/pato2.py
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-02-14 23:27:46 -0600
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-02-14 23:27:46 -0600
commit9de298a7b88f7f36aec4c9344356a935c67cfeb3 (patch)
tree7db0effd90a06179a8414c4831174c0877571818 /pato2.py
parent3866f148dae1f6c90fc6d903784b65e452c048c6 (diff)
* Added test for generate_exclude_list_from_blacklist
* Fixed listado to strip spaces
Diffstat (limited to 'pato2.py')
-rw-r--r--pato2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pato2.py b/pato2.py
index e32a4dd..5bc97a9 100644
--- a/pato2.py
+++ b/pato2.py
@@ -42,7 +42,7 @@ def listado(filename_):
archivo = open(filename_,"r")
lista = archivo.read().split("\n")
archivo.close()
- return [pkg.split(":")[0] for pkg in lista if pkg]
+ return [pkg.split(":")[0].rstrip() for pkg in lista if pkg]
def db(repo_,arch_):
"""Construye un nombre para sincronizar una base de datos."""