diff options
author | David Lehman <dlehman@redhat.com> | 2009-03-02 15:43:00 -0600 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2009-03-02 15:43:00 -0600 |
commit | f0a87a7a9c8ff18de0d219aa38cf17dd67dd9958 (patch) | |
tree | c413faa817bd01f3b1eef574d383e70eff9f51f2 /storage/udev.py | |
parent | e152e3cbff4607bc30e274a302a22dc98db86940 (diff) | |
download | anaconda-f0a87a7a9c8ff18de0d219aa38cf17dd67dd9958.tar.gz anaconda-f0a87a7a9c8ff18de0d219aa38cf17dd67dd9958.tar.xz anaconda-f0a87a7a9c8ff18de0d219aa38cf17dd67dd9958.zip |
Fix check for multiple values in udev env lines.
A line w/ two variable definitions can have a single space.
Diffstat (limited to 'storage/udev.py')
-rw-r--r-- | storage/udev.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/udev.py b/storage/udev.py index d849a0e5e..6df00c855 100644 --- a/storage/udev.py +++ b/storage/udev.py @@ -104,7 +104,7 @@ def udev_parse_block_entry(buf): elif tag == "S": dev['symlinks'].append(val) elif tag == "E": - if val.count("=") > 1 and val.count(" ") > 1: + if val.count("=") > 1 and val.count(" ") > 0: # eg: LVM2_LV_NAME when querying the VG for its LVs vars = val.split() vals = [] |