diff options
author | Till Maas <opensource@till.name> | 2014-01-30 18:31:25 +0100 |
---|---|---|
committer | Till Maas <opensource@till.name> | 2014-01-30 18:31:25 +0100 |
commit | 5557119463f6fa8dc9e8384b20781e8653e2a186 (patch) | |
tree | 45f6a4d8d35ff80491750b02273075a420e89156 | |
parent | 1def285eb8709e56632ac49c05c3f786c688310d (diff) | |
download | cnucnu-5557119463f6fa8dc9e8384b20781e8653e2a186.tar.gz cnucnu-5557119463f6fa8dc9e8384b20781e8653e2a186.tar.xz cnucnu-5557119463f6fa8dc9e8384b20781e8653e2a186.zip |
package_list: Do not overwrite class list
-rwxr-xr-x | cnucnu/package_list.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cnucnu/package_list.py b/cnucnu/package_list.py index 11cb1f6..6f643cd 100755 --- a/cnucnu/package_list.py +++ b/cnucnu/package_list.py @@ -81,9 +81,9 @@ class Repository: cmdline.extend(package_names) repoquery = sp.Popen(cmdline, stdout=sp.PIPE) - (list, stderr) = repoquery.communicate() + (list_, stderr) = repoquery.communicate() new_nvr_dict = {} - for line in list.split("\n"): + for line in list_.split("\n"): if line != "": name, version, release = line.split("\t") new_nvr_dict[name] = (version, release) |