[master 1/4] Do not have two ignored variables when one will do.

mulkieran installerbot-noreply at redhat.com
Thu May 7 20:41:37 UTC 2015


From: mulhern <amulhern at redhat.com>

Signed-off-by: mulhern <amulhern at redhat.com>
---
 blivet/mounts.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/blivet/mounts.py b/blivet/mounts.py
index b781d50..617ca21 100644
--- a/blivet/mounts.py
+++ b/blivet/mounts.py
@@ -70,7 +70,7 @@ def _getActiveMounts(self):
         self.mountpoints = defaultdict(list)
         for line in open("/proc/mounts").readlines():
             try:
-                (devspec, mountpoint, fstype, _options, _rest) = line.split(None, 4)
+                (devspec, mountpoint, fstype, _rest) = line.split(None, 3)
             except ValueError:
                 log.error("failed to parse /proc/mounts line: %s", line)
                 continue


-- 
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/0e3263d0f9c3914c2580693636bd775c0a52cc4a


More information about the anaconda-patches mailing list