Merge pull request #303 from carlroth/master

Support local file paths with colons
This commit is contained in:
Jeffrey Townsend
2018-02-03 07:02:06 -08:00
committed by GitHub

View File

@@ -221,7 +221,7 @@ class Runner(onl.install.InstallUtils.SubprocessMixin):
blkid = BlkidParser(log=self.log)
if ':' in SWI:
if not SWI.startswith('/') and ':' in SWI:
devspec, sep, r = SWI.partition(':')
p = "/dev/%s" % devspec