diff options
-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) |