Ensure we get a warning of some kind when a bad scheme is provided.

This commit is contained in:
Mike Auty
2017-10-05 00:13:45 +01:00
parent 5fbc90e699
commit 06767bd44c
@@ -70,6 +70,9 @@ class LayerStacker(interfaces.automagic.AutomagicInterface):
self.local_store = None
if location.scheme == "file":
self.local_store = location.path
else:
vollog.warning("Only file scheme supported for single-location")
return []
new_context = context.clone()
current_layer_name = context.memory.free_layer_name("FileLayer")