[PATCH] Remove timestamp-based version support.

David Shea dshea at redhat.com
Fri Feb 20 19:05:27 UTC 2015


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 e4a9a63..84a7066 100644
--- a/pyanaconda/packaging/__init__.py
+++ b/pyanaconda/packaging/__init__.py
@@ -395,11 +395,6 @@ class Payload(object):
             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
 
-- 
2.1.0



More information about the anaconda-patches mailing list