FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Desktop

 
 
LinkBack Thread Tools
 
Old 05-17-2011, 08:50 AM
Ales Kozumplik
 
Default 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 05-17-2011, 01:07 PM
Chris Lumens
 
Default Remove a worthless, traceback-causing line.

> 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

ACK.

- Chris

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

Thread Tools




All times are GMT. The time now is 05:53 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org