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

[rhel5-branch] Remove a worthless, traceback-causing line.



(for instance 'rootdev' has no digits to be cut off)

Related: rhbz#572862
---
 yuminstall.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/yuminstall.py b/yuminstall.py
index 5780325..209a8d6 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -1504,7 +1504,6 @@ class YumBackend(AnacondaBackend):
                         match = re.search(mpregex, mpathname)
                         if match is not None:
                             mpathname = match.group()
-                            major = int(match.group(1))
                     else:
                         continue
 
-- 
1.7.3.3


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