[master 1/2] Make mountsCache store subvolspec as a str if not None.
vpodzime
installerbot-noreply at redhat.com
Wed May 6 08:16:31 UTC 2015
In reply to line 77 of blivet/mounts.py:
Two things here:
* the file is not closed anywhere (can be addressed by using ``with open() as f:``
* the ``readlines()`` call is not needed (the file object is an iterable producing lines)
--
To view this comment on github, visit https://github.com/mulkieran/blivet/commit/b1ba23ce9a3fa1651e55c237b0af9b8b6498813c#commitcomment-11060852
More information about the anaconda-patches
mailing list