Fix check log beofre remove

This commit is contained in:
Dimitris Zlatanidis 2015-10-10 12:17:21 +03:00
parent 7f409a3d6a
commit e52efaadf0

View file

@ -116,6 +116,7 @@ class PackageManager(object):
# read and remove all else remove only the package.
if (os.path.isfile(self.dep_path + rmv) and
self.meta.del_deps in ["on", "ON"] or
os.path.isfile(self.dep_path + rmv) and
"--deps" in self.extra):
dependencies = self._view_deps(self.dep_path, rmv)
if dependencies and self._rmv_deps_answer() in ["y",