From: Michael Tremer Date: Tue, 22 Feb 2011 18:40:14 +0000 (+0100) Subject: Fix hack that was used to workaround bad filenames in the database. X-Git-Tag: 0.9.3~136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5a4bb4d03d3a6c491c95501b7bb05734dec6d51;p=pakfire.git Fix hack that was used to workaround bad filenames in the database. --- diff --git a/pakfire/packages/installed.py b/pakfire/packages/installed.py index b2562a63a..f7e674309 100644 --- a/pakfire/packages/installed.py +++ b/pakfire/packages/installed.py @@ -177,10 +177,6 @@ class DatabasePackage(Package): # Make sure filename is of type string (and not unicode) filename = str(self.filename) - # XXX to be removed very soon - if filename.startswith("686"): - filename = "i%s" % filename - i = self.repo.grabber.urlopen(filename) buf = i.read(BUFFER_SIZE)