summaryrefslogtreecommitdiffstats
path: root/product.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-05-08 20:22:44 +0000
committerChris Lumens <clumens@redhat.com>2006-05-08 20:22:44 +0000
commitca81cbae17d38cb178917562f8ffef43da8ce183 (patch)
tree6fbbe7b572e326fb5a1803d31271cc3bf63ee299 /product.py
parent8fa1f968a830b687e9f071aaeb2721844b84dd12 (diff)
downloadanaconda-ca81cbae17d38cb178917562f8ffef43da8ce183.tar.gz
anaconda-ca81cbae17d38cb178917562f8ffef43da8ce183.tar.xz
anaconda-ca81cbae17d38cb178917562f8ffef43da8ce183.zip
Use productStamp in default repoid to prevent collisions with whatever other
people come up with.
Diffstat (limited to 'product.py')
-rw-r--r--product.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/product.py b/product.py
index 0372c658c..970a1164c 100644
--- a/product.py
+++ b/product.py
@@ -22,7 +22,7 @@ elif os.environ.has_key("PRODBUILDPATH") and \
else:
path = None
-
+productStamp = ""
productName = "anaconda"
productVersion = "bluesky"
productPath = "anaconda"
@@ -32,6 +32,7 @@ if path is not None:
f = open(path, "r")
lines = f.readlines()
if len(lines) >= 3:
+ productStamp = lines[0][:-1]
productName = lines[1][:-1]
productVersion = lines[2][:-1]
if len(lines) >= 4: