[PATCH] Fix the attempt to read in the bugUrl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Python starts counting at 0 for indexes
---
 product.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/product.py b/product.py
index 52a8a24..68df00c 100644
--- a/product.py
+++ b/product.py
@@ -46,7 +46,7 @@ if path is not None:
         productName = lines[1][:-1]
         productVersion = lines[2][:-1]
     if len(lines) >= 4:
-        bugUrl = lines[4][:-1]
+        bugUrl = lines[3][:-1]
 
 if os.environ.has_key("ANACONDA_PRODUCTNAME"):
     productName = os.environ["ANACONDA_PRODUCTNAME"]
-- 
1.5.4.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux