summaryrefslogtreecommitdiff
path: root/UpdateManager
diff options
context:
space:
mode:
authorMichael Vogt <egon@top>2005-12-07 12:38:19 +0100
committerMichael Vogt <egon@top>2005-12-07 12:38:19 +0100
commit1746af9a6a0440c5fe85cb782ef8afce58a8338b (patch)
tree86db0c79931a9b67ab8281fde625979cf59dc772 /UpdateManager
parent36243120b889e764212629019438356a7fb3e21e (diff)
downloadpython-apt-1746af9a6a0440c5fe85cb782ef8afce58a8338b.tar.gz
* various cosmetic fixes
* set debconf/apt-listchanges frontends to gtk * updated readme
Diffstat (limited to 'UpdateManager')
-rw-r--r--UpdateManager/Common/utils.py1
-rw-r--r--UpdateManager/UpdateManager.py4
2 files changed, 3 insertions, 2 deletions
diff --git a/UpdateManager/Common/utils.py b/UpdateManager/Common/utils.py
index 92fe16b0..ffafadfb 100644
--- a/UpdateManager/Common/utils.py
+++ b/UpdateManager/Common/utils.py
@@ -6,3 +6,4 @@ def str_to_bool(str):
def utf8(str):
return unicode(str, 'latin1').encode('utf-8')
+
diff --git a/UpdateManager/UpdateManager.py b/UpdateManager/UpdateManager.py
index d1fd0086..1a62b255 100644
--- a/UpdateManager/UpdateManager.py
+++ b/UpdateManager/UpdateManager.py
@@ -668,8 +668,7 @@ class UpdateManager(SimpleGladeApp):
uri = self.new_dist.upgradeTool
print "Downloading %s to %s" % (uri, tmpdir)
af = apt_pkg.GetPkgAcqFile(fetcher,uri,
- descr=_("Upgrade tool"),
- destDir=tmpdir)
+ descr=_("Upgrade tool"))
fetcher.Run()
print "Done downloading"
@@ -689,6 +688,7 @@ class UpdateManager(SimpleGladeApp):
print "no script file found in extracted tarbal"
else:
print "runing: %s" % script
+ os.execv(script,"")
# cleanup
os.chdir("..")