From 33a5e81ca8e52d3cf28e471e790ddb982590f5b9 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Sun, 9 Nov 2014 22:19:32 +0000 Subject: fixup device detection --- morphlib/writeexts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/morphlib/writeexts.py b/morphlib/writeexts.py index 884d1b4c..dc792eaf 100644 --- a/morphlib/writeexts.py +++ b/morphlib/writeexts.py @@ -574,5 +574,5 @@ class WriteExtension(cliapp.Application): def is_device(self, location): dev_regex = re.compile("^/dev/((sd|vd|mmcblk|hd)[a-z0-9]+)$") if dev_regex.match(location): - return true - return false + return True + return False -- cgit v1.2.1