diff options
author | Martin Gracik <mgracik@redhat.com> | 2011-07-25 12:49:38 +0200 |
---|---|---|
committer | Martin Gracik <mgracik@redhat.com> | 2011-07-26 09:39:02 +0200 |
commit | 2e94beff09f8a903521c38d6e4c4200e0e1edcfc (patch) | |
tree | 5488b962161258277a24c8f78d0c6688ba227996 /pyanaconda/product.py | |
parent | 0c33e8f41adb412769e3fc335fe7db078711c3a0 (diff) | |
download | anaconda-2e94beff09f8a903521c38d6e4c4200e0e1edcfc.tar.gz anaconda-2e94beff09f8a903521c38d6e4c4200e0e1edcfc.tar.xz anaconda-2e94beff09f8a903521c38d6e4c4200e0e1edcfc.zip |
Change IsBeta to IsFinal
When doing composes pungi (and lorax) uses a flag --isfinal, to set
a final release, otherwise it is considered a beta release by default.
This patch makes the final vs beta more consistent with the composes.
Diffstat (limited to 'pyanaconda/product.py')
-rw-r--r-- | pyanaconda/product.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyanaconda/product.py b/pyanaconda/product.py index ad17afb90..c269b3ef8 100644 --- a/pyanaconda/product.py +++ b/pyanaconda/product.py @@ -26,7 +26,7 @@ config = ConfigParser.ConfigParser() config.add_section("Main") config.set("Main", "Arch", os.environ.get("ANACONDA_PRODUCTARCH", os.uname()[4])) config.set("Main", "BugURL", os.environ.get("ANACONDA_BUGURL", "your distribution provided bug reporting tool")) -config.set("Main", "IsBeta", os.environ.get("ANACONDA_ISBETA", "true")) +config.set("Main", "IsFinal", os.environ.get("ANACONDA_ISFINAL", "false")) config.set("Main", "Product", os.environ.get("ANACONDA_PRODUCTNAME", "anaconda")) config.set("Main", "UUID", "") config.set("Main", "Version", os.environ.get("ANACONDA_PRODUCTVERSION", "bluesky")) @@ -36,7 +36,7 @@ config.read(["/tmp/product/.buildstamp", "/.buildstamp", os.environ.get("PRODBUI # Set up some variables we import throughout, applying a couple transforms as necessary. bugUrl = config.get("Main", "BugURL") -isBeta = config.getboolean("Main", "isBeta") +isFinal = config.getboolean("Main", "IsFinal") productArch = config.get("Main", "Arch") productName = config.get("Main", "Product") productStamp = config.get("Main", "UUID") |