From 7eaeee88ef260a1a773320f8aaea88adb5f6a3d3 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 7 Nov 2014 16:06:32 +0000 Subject: fixup device detection --- morphlib/writeexts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1