summaryrefslogtreecommitdiffstats
path: root/product.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-10-14 22:55:06 +0000
committerJeremy Katz <katzj@redhat.com>2003-10-14 22:55:06 +0000
commit9a66820b55f14d0da134602abe3293d7e9302ccf (patch)
tree841d536599c8aa28981d3ff72b440afcff8edfb0 /product.py
parente51cbce32f0f0152e4088aadf6eb1de948938435 (diff)
downloadanaconda-9a66820b55f14d0da134602abe3293d7e9302ccf.tar.gz
anaconda-9a66820b55f14d0da134602abe3293d7e9302ccf.tar.xz
anaconda-9a66820b55f14d0da134602abe3293d7e9302ccf.zip
fall back nicely if buildstamp doesn't have as many lines as we expect
Diffstat (limited to 'product.py')
-rw-r--r--product.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/product.py b/product.py
index aa66d9f0c..9fceee684 100644
--- a/product.py
+++ b/product.py
@@ -26,7 +26,7 @@ if path is None:
else:
f = open(path, "r")
lines = f.readlines()
- if len(lines) < 3:
+ if len(lines) < 4:
productName = "anaconda"
productVersion = "bluesky"
productPath = "RedHat"