- not gonna be used

This commit is contained in:
Faik Uygur
2007-06-27 12:01:32 +00:00
parent 6d54236006
commit 32ca5909a7
-10
View File
@@ -34,16 +34,6 @@ def package_conflicts(pkg, confs):
return None return None
""" A package in order may be conflicting with an installed package. In this
case pisi should upgrade that conflicting package to a non-conflicting
one if available, instead of yelling and removing the installed package. """
def satisfying_upgrade_available(conflicting):
try:
pkg = pisi.packagedb.get_package(conflicting.package)
return not conflicting.satisfies_relation(pkg.name, pkg.version, pkg.release)
except pisi.packagedb.Error:
return False
def calculate_conflicts(order, packagedb): def calculate_conflicts(order, packagedb):
# check conflicting packages in the installed system # check conflicting packages in the installed system