mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-13 09:16:14 +01:00
parent
19944be5b6
commit
2258bc6d04
@ -419,6 +419,7 @@ class Serviceinfo:
|
|||||||
for filename in os.listdir(temp_dir):
|
for filename in os.listdir(temp_dir):
|
||||||
shutil.move( os.path.join(temp_dir, filename), os.path.join(dir, filename) )
|
shutil.move( os.path.join(temp_dir, filename), os.path.join(dir, filename) )
|
||||||
else:
|
else:
|
||||||
|
name = service['name']
|
||||||
for filename in os.listdir(temp_dir):
|
for filename in os.listdir(temp_dir):
|
||||||
shutil.move( os.path.join(temp_dir, filename), os.path.join(dir, "_service:"+name+":"+filename) )
|
shutil.move( os.path.join(temp_dir, filename), os.path.join(dir, "_service:"+name+":"+filename) )
|
||||||
finally:
|
finally:
|
||||||
|
Loading…
Reference in New Issue
Block a user