mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-27 07:06:13 +01:00
- service disabledrun must store files without prefix to be able to submit them
This commit is contained in:
parent
468106e19d
commit
e721bb5ab6
@ -339,7 +339,7 @@ class Serviceinfo:
|
|||||||
# updating _services.
|
# updating _services.
|
||||||
print " (your _services file may be corrupt now)"
|
print " (your _services file may be corrupt now)"
|
||||||
|
|
||||||
if service['mode'] == "trylocal" or service['mode'] == "localonly" or callmode == "local":
|
if service['mode'] == "disabled" or service['mode'] == "trylocal" or service['mode'] == "localonly" or callmode == "local":
|
||||||
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user