mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-26 22:56:15 +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.
|
||||
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):
|
||||
shutil.move( os.path.join(temp_dir, filename), os.path.join(dir, filename) )
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user