summaryrefslogtreecommitdiff
path: root/DistUpgrade/DistUpgradeControler.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-04-13 16:25:19 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-04-13 16:25:19 +0200
commita34c35a2528041e658e541692adaa8b542a2e086 (patch)
tree6d92362d2623d7d293c94591e4d6fff6c80ef2c7 /DistUpgrade/DistUpgradeControler.py
parent37fff00bab8c39bd52d02239c241cf4d6b1c72a3 (diff)
downloadpython-apt-a34c35a2528041e658e541692adaa8b542a2e086.tar.gz
* fix api change in aptsources.py
Diffstat (limited to 'DistUpgrade/DistUpgradeControler.py')
-rw-r--r--DistUpgrade/DistUpgradeControler.py4
1 files changed, 2 insertions, 2 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