[rhinstaller/blivet/pulls/54 master] Dynamic mountpoint detection -- new version

mulkieran installerbot-noreply at redhat.com
Wed Mar 18 17:48:01 UTC 2015


> @@ -582,6 +582,13 @@ def loadModule(self):
>          # also need to update the list of supported filesystems.
>          update_kernel_filesystems()
>  
> +    @property
> +    def systemMountpoint(self):
> +        if not self.exists:
> +            return None
> +
> +        return mountsCache.getMountpoint(self.device)

I would like it slightly better if this had a comment/docstring, if the final line was:

```
return mountsCache.getMountpoint(self.device, getattr(self, "subvolspec", None))
```
and the overriding method in BTRFS class went away.

-- 
To view this pull request on github, visit https://github.com/rhinstaller/blivet/pull/54#discussion_r26688285


More information about the anaconda-patches mailing list