Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

Commit

Permalink
re-enabled blacklist
Browse files Browse the repository at this point in the history
  • Loading branch information
gaining committed Aug 18, 2017
1 parent 98982ac commit c3d157f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resetter/usr/lib/resetter/Resetter.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,12 +408,12 @@ def compareFiles(self):
try:
black_list = (['linux-image', 'linux-headers', 'linux-generic', 'ca-certificates', 'pyqt4-dev-tools',
'python-apt', 'python-aptdaemon', 'python-qt4', 'python-qt4-doc', 'libqt',
'pyqt4-dev-tools', 'openjdk', 'python-sip', 'gksu', 'grub'])
'pyqt4-dev-tools', 'openjdk', 'python-sip', 'gksu', 'grub', 'python-mechanize', 'python-bs4'])
with open("apps-to-remove", "w") as output, open("installed", "r") as installed, \
open(self.manifest, "r") as pman:
diff = set(installed).difference(pman)
for line in diff:
#if not any(s in line for s in black_list):
if not any(s in line for s in black_list):
output.writelines(line)
except Exception as e:
self.logger.error("Error comparing files [{}]".format(e), exc_info=True)
Expand Down

0 comments on commit c3d157f

Please sign in to comment.