diff options
author | Your Name <you@example.com> | 2014-11-07 16:06:32 +0000 |
---|---|---|
committer | Your Name <you@example.com> | 2014-11-07 16:06:32 +0000 |
commit | 7eaeee88ef260a1a773320f8aaea88adb5f6a3d3 (patch) | |
tree | a00635f04d6362b89a2efadbec8ad042ff8bc426 | |
parent | b072aab658a390352d909559e85f6e18d4f51892 (diff) | |
download | morph-7eaeee88ef260a1a773320f8aaea88adb5f6a3d3.tar.gz |
fixup device detectionbaserock/pedroalvarez/rawdisk-to-device2
-rw-r--r-- | morphlib/writeexts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/writeexts.py b/morphlib/writeexts.py index a81e0c22..884d1b4c 100644 --- a/morphlib/writeexts.py +++ b/morphlib/writeexts.py @@ -571,7 +571,7 @@ class WriteExtension(cliapp.Application): logging.error("Error checking SSH connectivity: %s", str(e)) raise cliapp.AppException( 'Unable to SSH to %s: %s' % (ssh_host, e)) - def deploying_to_device(self, location): + def is_device(self, location): dev_regex = re.compile("^/dev/((sd|vd|mmcblk|hd)[a-z0-9]+)$") if dev_regex.match(location): return true |