Remove duplicated code in virtual_resource.py

This commit is contained in:
Przemyslaw Kaminski 2015-08-27 11:52:51 +02:00
parent e00003a53f
commit 03adaf7cde

View File

@ -27,10 +27,6 @@ def create_resource(name, base_path, args, virtual_resource=None):
prepare_meta(metadata)
if os.path.exists(actions_path):
for f in os.listdir(actions_path):
metadata['actions'][os.path.splitext(f)[0]] = f
tags = metadata.get('tags', [])
resource = Resource(name, metadata, args, tags, virtual_resource)