[rhinstaller/blivet/pulls/194 master] Fix mount cache for devices with symlinks

bcl installerbot-noreply at redhat.com
Wed Aug 5 00:01:01 UTC 2015


> @@ -99,7 +101,7 @@ def resolve_devspec(devspec):
>                      break
>  
>      if ret:
> -        return device_get_name(ret)
> +        return ret.sys_name if sysname else device_get_name(ret)

I still don't like embedding the if like this. I've gotten used to X or Y syntax, but I think this form makes what is happening less clear.

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


More information about the anaconda-patches mailing list