summaryrefslogtreecommitdiff
path: root/DistUpgrade/DistUpgradeControler.py
diff options
context:
space:
mode:
authorSebastian Heinlein <sebi@server.daheim>2006-04-17 15:21:42 +0200
committerSebastian Heinlein <sebi@server.daheim>2006-04-17 15:21:42 +0200
commit8670d8c43a9ce7f42b85febe7bd9d35310fcb8ea (patch)
tree6d92362d2623d7d293c94591e4d6fff6c80ef2c7 /DistUpgrade/DistUpgradeControler.py
parentdbe01bf94fa020f5fc88cc320cf47a79db146d73 (diff)
parenta34c35a2528041e658e541692adaa8b542a2e086 (diff)
downloadpython-apt-8670d8c43a9ce7f42b85febe7bd9d35310fcb8ea.tar.gz
huge merge from mvo
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 6ee2fb97..17ba46ee 100644
--- a/DistUpgrade/DistUpgradeControler.py
+++ b/DistUpgrade/DistUpgradeControler.py
@@ -30,7 +30,7 @@ import re
import statvfs
from DistUpgradeConfigParser import DistUpgradeConfig
-from SoftwareProperties.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