summaryrefslogtreecommitdiff
path: root/DistUpgrade/DistUpgrade.py
diff options
context:
space:
mode:
authorMichael Vogt <egon@top>2005-12-05 15:11:16 +0100
committerMichael Vogt <egon@top>2005-12-05 15:11:16 +0100
commit6bf670bb229c1f2b50e5d51de073221a38e309c8 (patch)
treed8bcfd60280dd3560fd83ad21640ebaf772833ad /DistUpgrade/DistUpgrade.py
parent0367f3c7a5293b48b67d2ef42a1cd595d9874a69 (diff)
downloadpython-apt-6bf670bb229c1f2b50e5d51de073221a38e309c8.tar.gz
* bugfixes in the sources.list rewrite code
Diffstat (limited to 'DistUpgrade/DistUpgrade.py')
-rw-r--r--DistUpgrade/DistUpgrade.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/DistUpgrade/DistUpgrade.py b/DistUpgrade/DistUpgrade.py
index 0c6e9202..3b252fd8 100644
--- a/DistUpgrade/DistUpgrade.py
+++ b/DistUpgrade/DistUpgrade.py
@@ -55,7 +55,7 @@ class DistUpgradeControler(object):
sources.backup()
for entry in sources:
# check if it's a mirror (or offical site)
- if sources.is_mirror(entry.uri, "archive.ubuntu.com"):
+ if sources.is_mirror("archive.ubuntu.com",entry.uri):
if entry.dist == fromDist:
entry.dist = to
else: