Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-11-14 19:44:45 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-11-14 19:44:45 (GMT)
commit26ca6df5a0c390f61fadcd22e157849f46ab9abe (patch)
tree40d3da5025ad59864969b063a655e0e65abf4418
parent3d77208faa7a1e22b645d566f0122dc001264695 (diff)
More autoremove fixes
-rw-r--r--devbot/system.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/devbot/system.py b/devbot/system.py
index caf26db..670576e 100644
--- a/devbot/system.py
+++ b/devbot/system.py
@@ -160,8 +160,8 @@ def autoremove_packages(packages):
package_list = [package_list]
for package in package_list:
- if package_info[distro_name] not in to_keep:
- to_keep.append(package_info[distro_name])
+ if package not in to_keep:
+ to_keep.append(package)
to_keep = package_manager.find_with_deps(to_keep)
all = package_manager.find_all()