Commit aeada68b authored by Gitlab CI's avatar Gitlab CI Committed by kreczko
Browse files

Fixed formatting

patch generated by https://gitlab.cern.ch/kreczko/Gaudi/-/jobs/3322407
parent 6594f136
......@@ -1541,6 +1541,7 @@ class GaudiExeTest(ExecTestBase):
if a not in positional and a not in kwargs:
kwargs[a] = self.extra_args[a]
return self.callable(*args, **kwargs)
# local names to be exposed in the script
exported_symbols = {
"self":
......
......@@ -10,7 +10,9 @@ import sys
def usage():
print("Invalid arguments\nProper syntax is :\n %s <log file> <callgrind file>" % sys.argv[0])
print(
"Invalid arguments\nProper syntax is :\n %s <log file> <callgrind file>"
% sys.argv[0])
if len(sys.argv) != 3:
......
......@@ -16,8 +16,10 @@ def find_file(filename, searchpath):
if isabs(filename):
return filename if exists(filename) else None
try:
return six.next(six.moves.filter(exists, six.moves.map(lambda x: join(x, filename),
searchpath)))
return six.next(
six.moves.filter(
exists, six.moves.map(lambda x: join(x, filename),
searchpath)))
except StopIteration:
return None
......@@ -90,7 +92,9 @@ def main():
if new_deps != old_deps: # write it only if it has changed
open(output, 'w').write(new_deps)
if old_deps and not opts.for_make:
print('info: dependencies changed: next build will trigger a reconfigure')
print(
'info: dependencies changed: next build will trigger a reconfigure'
)
if __name__ == '__main__':
......
......@@ -100,5 +100,6 @@ if __name__ == '__main__':
if touched_count == active_count:
print(' coverage 100%')
else:
print(' coverage %3d%%, missed: %s' % (
float(touched_count) / active_count * 100, ', '.join(ranges)))
print(
' coverage %3d%%, missed: %s' %
(float(touched_count) / active_count * 100, ', '.join(ranges)))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment