summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--morphlib/writeexts.py4
1 files 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