1
0
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:
Adrian Schröter 2011-02-28 10:05:06 +01:00
parent 468106e19d
commit e721bb5ab6

View File

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