diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-02-14 23:27:46 -0600 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-02-14 23:27:46 -0600 |
commit | 9de298a7b88f7f36aec4c9344356a935c67cfeb3 (patch) | |
tree | 7db0effd90a06179a8414c4831174c0877571818 /pato2.py | |
parent | 3866f148dae1f6c90fc6d903784b65e452c048c6 (diff) |
* Added test for generate_exclude_list_from_blacklist
* Fixed listado to strip spaces
Diffstat (limited to 'pato2.py')
-rw-r--r-- | pato2.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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.""" |