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

[PATCH] Fix the attempt to read in the bugUrl



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


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