[rhinstaller/blivet/pulls/162 master] Enforce and document the fact that StorageDevice.format is always a DeviceFormat.

mulkieran installerbot-noreply at redhat.com
Thu Jun 18 16:26:09 UTC 2015


> @@ -623,6 +643,14 @@ def _updateNetDevMountOption(self):
>              self._format.options = ",".join(option_list)
>  
>      def _getFormat(self):
> +        """ Get the device's format instance.
> +

Might as well docstring it all up with ```:rtype:``` and ```:return:``` while you are here.

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


More information about the anaconda-patches mailing list