summaryrefslogtreecommitdiff
path: root/UpdateManager/UpdateManager.py
diff options
context:
space:
mode:
authorMichael Vogt <egon@top>2005-12-07 17:05:51 +0100
committerMichael Vogt <egon@top>2005-12-07 17:05:51 +0100
commit016599ecf9b83c872d0d616bafeac50797291e9b (patch)
tree7007a7df414f5fbb88befbe8ab9054bfcb346b4a /UpdateManager/UpdateManager.py
parentaae3dfa68787937d64bf5b52de499e38957a5a57 (diff)
downloadpython-apt-016599ecf9b83c872d0d616bafeac50797291e9b.tar.gz
* more small fixes, actually works now for the test hoary->breezy upgrade case
Diffstat (limited to 'UpdateManager/UpdateManager.py')
-rw-r--r--UpdateManager/UpdateManager.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/UpdateManager/UpdateManager.py b/UpdateManager/UpdateManager.py
index 1a62b255..34ac5f62 100644
--- a/UpdateManager/UpdateManager.py
+++ b/UpdateManager/UpdateManager.py
@@ -645,7 +645,7 @@ class UpdateManager(SimpleGladeApp):
self.textview_release_notes.get_buffer().set_text(notes)
self.dialog_release_notes.set_transient_for(self.window_main)
self.dialog_release_notes.run()
- self.dialog_release_notes.destroy()
+ self.dialog_release_notes.hide()
except urllib2.HTTPError:
# FIXME: make proper error dialogs here
print _("Release notes not found on the server.")
@@ -666,11 +666,11 @@ class UpdateManager(SimpleGladeApp):
"are downloaded"))
fetcher = apt_pkg.GetAcquire(progress)
uri = self.new_dist.upgradeTool
- print "Downloading %s to %s" % (uri, tmpdir)
+ #print "Downloading %s to %s" % (uri, tmpdir)
af = apt_pkg.GetPkgAcqFile(fetcher,uri,
descr=_("Upgrade tool"))
fetcher.Run()
- print "Done downloading"
+ #print "Done downloading"
# extract the tarbal
print "extracting"
@@ -685,10 +685,10 @@ class UpdateManager(SimpleGladeApp):
# see if we have a script file that we can run
script = "%s/%s" % (tmpdir, self.new_dist.name)
if not os.path.exists(script):
- print "no script file found in extracted tarbal"
+ #print "no script file found in extracted tarbal"
else:
- print "runing: %s" % script
- os.execv(script,"")
+ #print "runing: %s" % script
+ os.execv(script,[])
# cleanup
os.chdir("..")