Remove double code

This commit is contained in:
Dimitris Zlatanidis 2016-02-23 23:24:26 +02:00
parent 4c6e3842df
commit 38c6d9825b

View file

@ -201,9 +201,6 @@ class BinaryInstall(object):
"""
installs, upgraded = [], []
for inst in (self.dep_install + self.install):
if (self.meta.not_downgrade == "on" and
self.not_downgrade(inst) == True):
continue
package = (self.tmp_path + inst).split()
pkg_ver = "{0}-{1}".format(split_package(inst)[0],
split_package(inst)[1])