diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-04-05 17:44:50 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-04-05 17:44:50 +0200 |
| commit | b407ce2b2312e82f98d54657b0ca978b9cad4964 (patch) | |
| tree | 1fa4b6f3aef22ce614b24a4407e114b2599f7a33 /UpdateManager | |
| parent | 99e04876f2b3eb1c6d9150ad0ac17ad8fc1f7e97 (diff) | |
| download | python-apt-b407ce2b2312e82f98d54657b0ca978b9cad4964.tar.gz | |
* add "--devel-release" as option
Diffstat (limited to 'UpdateManager')
| -rw-r--r-- | UpdateManager/MetaRelease.py | 2 | ||||
| -rw-r--r-- | UpdateManager/UpdateManager.py | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/UpdateManager/MetaRelease.py b/UpdateManager/MetaRelease.py index fde705bb..0cfb9f36 100644 --- a/UpdateManager/MetaRelease.py +++ b/UpdateManager/MetaRelease.py @@ -44,7 +44,7 @@ class MetaRelease(gobject.GObject): # some constants METARELEASE_URI = "http://changelogs.ubuntu.com/meta-release" - #METARELEASE_URI = "http://people.ubuntu.com/~mvo/dist-upgrader/meta-release-test2" + METARELEASE_URI_UNSTABLE = "http://changelogs.ubuntu.com/meta-release-development" METARELEASE_FILE = "/var/lib/update-manager/meta-release" __gsignals__ = { diff --git a/UpdateManager/UpdateManager.py b/UpdateManager/UpdateManager.py index bad5af88..93f17a3d 100644 --- a/UpdateManager/UpdateManager.py +++ b/UpdateManager/UpdateManager.py @@ -738,8 +738,11 @@ class UpdateManager(SimpleGladeApp): self.on_button_reload_clicked(None) - def main(self): + def main(self, options): self.meta = MetaRelease() + # the user wants to see the development release + if options.devel_release: + self.meta.METARELEASE_URI = self.meta.METARELEASE_URI_UNSTABLE self.meta.connect("new_dist_available",self.new_dist_available) self.meta.connect("dist_no_longer_supported",self.dist_no_longer_supported) |
