1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-25 17:36:13 +01:00

- fix regression of 72e38569ae

which broke "osc service run" command
This commit is contained in:
Adrian Schröter 2015-03-16 08:13:29 +01:00
parent 19944be5b6
commit 2258bc6d04

View File

@ -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: