1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00

- do not fail on special packages with defined source services

This commit is contained in:
Adrian Schröter 2011-05-26 15:54:30 +02:00
parent e0b7f69fe6
commit d735377ad7

View File

@ -2052,6 +2052,8 @@ rev: %s
print 'At revision %s.' % self.rev
def run_source_services(self, mode=None, singleservice=None, verbose=None):
if self.name.startswith("_"):
return 0
curdir = os.getcwd()
os.chdir(self.absdir) # e.g. /usr/lib/obs/service/verify_file fails if not inside the project dir.
si = Serviceinfo()