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: