[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 2/5] getReleaseString now lives in the storage module.



---
 upgrade.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/upgrade.py b/upgrade.py
index b58918d..c00c9c6 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -31,7 +31,7 @@ import selinux
 from flags import flags
 from constants import *
 from product import productName
-from storage import findExistingRootDevices
+from storage import findExistingRootDevices, getReleaseString
 from storage import mountExistingSystem
 from storage.formats import getFormat
 
@@ -154,7 +154,7 @@ def findRootParts(anaconda):
 
 def findExistingRoots(anaconda, upgradeany = 0):
     if not flags.setupFilesystems:
-        (prod, ver) = partedUtils.getReleaseString (anaconda.rootPath)
+        (prod, ver) = getReleaseString (anaconda.rootPath)
         if flags.cmdline.has_key("upgradeany") or upgradeany == 1 or anaconda.id.instClass.productUpgradable(prod, ver):
             return [(anaconda.rootPath, "")]
         return []
-- 
1.6.1.3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]