Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   Correctly add found multipath devices to our dict (#560029). (http://www.linux-archive.org/centos/317153-correctly-add-found-multipath-devices-our-dict-560029-a.html)

Hans de Goede 01-29-2010 06:26 PM

Correctly add found multipath devices to our dict (#560029).
 
Ack.

On 01/29/2010 07:15 PM, Chris Lumens wrote:

---
storage/devicelibs/mpath.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/devicelibs/mpath.py b/storage/devicelibs/mpath.py
index b6d46e1..adb2644 100644
--- a/storage/devicelibs/mpath.py
+++ b/storage/devicelibs/mpath.py
@@ -34,7 +34,7 @@ def parseMultipathOutput(output):
break
if lexemes[0] == 'create:':
if name and devices:
- mpaths.append(mpath)
+ mpaths[name] = devices
name = None
devices = []
name = lexemes[1]


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


All times are GMT. The time now is 12:57 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.