[SCM] GUI front-end for Debian Live. branch, master, updated. ba6b1809a9797d1a231cea9516d787a006051b94

Chris Lamb lamby at debian.org
Tue May 5 22:30:12 UTC 2009


The following commit has been merged in the master branch:
commit b791e48f005d87259b04b958e8d01d4a0596058b
Author: Chris Lamb <lamby at debian.org>
Date:   Tue May 5 23:27:28 2009 +0100

    Don't assume /etc/debian_version will contain the string "5.0\n" for the entirety of the lenny release - just check for a prefix of "5.0".

diff --git a/LiveMagic/views/wizard.py b/LiveMagic/views/wizard.py
index 1def955..46b0545 100644
--- a/LiveMagic/views/wizard.py
+++ b/LiveMagic/views/wizard.py
@@ -66,7 +66,7 @@ class WizardView(object):
         hide_distribution = False
         try:
             f = open('/etc/debian_version')
-            if f.read(4) == "5.0\n":
+            if f.read(3) == "5.0":
                 hide_distribution = True
             f.close()
         except:
diff --git a/debian/changelog b/debian/changelog
index facae7d..7f0a243 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+live-magic (1.6) UNRELEASED; urgency=low
+
+  * Don't assume /etc/debian_version will contain the string "5.0\n" for the
+    entirety of the lenny release - just check for a prefix of "5.0".
+
+ -- Chris Lamb <lamby at debian.org>  Tue, 05 May 2009 23:25:26 +0100
+
 live-magic (1.5) unstable; urgency=low
 
   * Use WINDOW_TYPE_HINT_DIALOG hint instead of WINDOW_TYPE_HINT_MENU to

-- 
GUI front-end for Debian Live.



More information about the debian-live-changes mailing list