SOURCES: python-booty-pld.patch - be compatible with old behaviour

glen glen at pld-linux.org
Tue Jun 6 20:47:51 CEST 2006


Author: glen                         Date: Tue Jun  6 18:47:51 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- be compatible with old behaviour

---- Files affected:
SOURCES:
   python-booty-pld.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/python-booty-pld.patch
diff -u SOURCES/python-booty-pld.patch:1.3 SOURCES/python-booty-pld.patch:1.4
--- SOURCES/python-booty-pld.patch:1.3	Tue Jun  6 20:47:04 2006
+++ SOURCES/python-booty-pld.patch	Tue Jun  6 20:47:45 2006
@@ -1,6 +1,6 @@
 --- booty-0.71/butil.py	2006-06-06 02:01:46.891108363 +0300
 +++ booty-0.71/butil.py	2006-06-06 21:45:21.801103636 +0300
-@@ -151,15 +151,16 @@
+@@ -151,15 +151,15 @@
  
  # returns a product name to use for the boot loader string
  def getProductName():
@@ -18,11 +18,10 @@
              if relidx != -1:
 -                return buf[:relidx]
 +                return buf[relidx:-1]
-+        return lines[0][:-1]
  
      if os.access("/tmp/product/.buildstamp", os.R_OK):
          path = "/tmp/product/.buildstamp"
-@@ -177,5 +178,5 @@
+@@ -177,5 +177,5 @@
  
      # fall back
 -    return "Red Hat Linux"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/python-booty-pld.patch?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list