From a34c35a2528041e658e541692adaa8b542a2e086 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Thu, 13 Apr 2006 16:25:19 +0200 Subject: * fix api change in aptsources.py --- DistUpgrade/DistUpgradeControler.py | 4 ++-- po/update-manager.pot | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DistUpgrade/DistUpgradeControler.py b/DistUpgrade/DistUpgradeControler.py index 0277969d..17ba46ee 100644 --- a/DistUpgrade/DistUpgradeControler.py +++ b/DistUpgrade/DistUpgradeControler.py @@ -30,7 +30,7 @@ import re import statvfs from DistUpgradeConfigParser import DistUpgradeConfig -from aptsources import SourcesList, SourceEntry +from aptsources import SourcesList, SourceEntry, is_mirror from gettext import gettext as _ from DistUpgradeCache import MyCache @@ -82,7 +82,7 @@ class DistUpgradeControler(object): # check if it's a mirror (or offical site) validMirror = False for mirror in valid_mirrors: - if self.sources.is_mirror(mirror,entry.uri): + if is_mirror(mirror,entry.uri): validMirror = True if entry.dist in toDists: # so the self.sources.list is already set to the new diff --git a/po/update-manager.pot b/po/update-manager.pot index 1b0873aa..477f2827 100644 --- a/po/update-manager.pot +++ b/po/update-manager.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: sebastian.heinlein@web.de\n" -"POT-Creation-Date: 2006-04-13 12:19+0200\n" +"POT-Creation-Date: 2006-04-13 16:15+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" -- cgit v1.2.3