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

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

 



---
 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux