mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-04 02:26:16 +01:00
do not die on helper directories
This commit is contained in:
parent
7e0abcd805
commit
56cfff9068
12
osc/core.py
12
osc/core.py
@ -908,11 +908,15 @@ class Package:
|
||||
pathn = getTransActPath(self.dir)
|
||||
|
||||
if validators:
|
||||
import subprocess
|
||||
from stat import *
|
||||
for validator in os.listdir(validators):
|
||||
import subprocess
|
||||
p = subprocess.Popen([validators+"/"+validator], close_fds=True)
|
||||
if p.wait() != 0:
|
||||
raise oscerr.RuntimeError(p.stdout, validator )
|
||||
fn=validators+"/"+validator
|
||||
mode = os.stat(fn)
|
||||
if S_ISREG(mode[ST_MODE]):
|
||||
p = subprocess.Popen([fn], close_fds=True)
|
||||
if p.wait() != 0:
|
||||
raise oscerr.RuntimeError(p.stdout, validator )
|
||||
|
||||
have_conflicts = False
|
||||
for filename in self.todo:
|
||||
|
Loading…
Reference in New Issue
Block a user