From 2258bc6d04dd3a5b5c1581c97904d9cd97122bbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Mon, 16 Mar 2015 08:13:29 +0100 Subject: [PATCH] - fix regression of 72e38569aec9519a1c80fb0e129187be45abd754 which broke "osc service run" command --- osc/core.py | 1 + 1 file changed, 1 insertion(+) diff --git a/osc/core.py b/osc/core.py index 8b07b5f9..0c87bd30 100644 --- a/osc/core.py +++ b/osc/core.py @@ -419,6 +419,7 @@ class Serviceinfo: for filename in os.listdir(temp_dir): shutil.move( os.path.join(temp_dir, filename), os.path.join(dir, filename) ) else: + name = service['name'] for filename in os.listdir(temp_dir): shutil.move( os.path.join(temp_dir, filename), os.path.join(dir, "_service:"+name+":"+filename) ) finally: