[master 4/30] Remove timestamp-based version support. (#1194494)

KosiehBarter installerbot-noreply at redhat.com
Thu Jul 16 12:00:28 UTC 2015


From: David Shea <dshea at redhat.com>

If you make a Fedora image with a timestamp-based version you are going
to get Fedora release twenty million some. If you are doing this please
stop doing this.
---
 pyanaconda/packaging/__init__.py | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/pyanaconda/packaging/__init__.py b/pyanaconda/packaging/__init__.py
index a8388e7..7f93b5e 100644
--- a/pyanaconda/packaging/__init__.py
+++ b/pyanaconda/packaging/__init__.py
@@ -393,11 +393,6 @@ def _getReleaseVersion(self, url):
             except ConfigParser.Error:
                 pass
 
-        # If the version looks like a timestamp, assume it's rawhide
-        # plz change before Fedora version 9999999
-        if version[:8].isdigit():
-            version = "rawhide"
-
         log.debug("got a release version of %s", version)
         return version
 


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/be5cbad109c8f982789d6183d8b136f8e4fe07b8


More information about the anaconda-patches mailing list