Skip to content
Snippets Groups Projects
Commit 3ad6fb42 authored by Andreas Tille's avatar Andreas Tille
Browse files

More fine grained debugging

parent 19a9b142
No related branches found
Tags debian/4.3.2-1
No related merge requests found
......@@ -139,7 +139,7 @@ for group in blends_groups:
if last_activity_at == project.attributes['last_activity_at']:
dosomething=False
unchanged += 1
if debug > 0:
if debug > 1:
print("Do nothing in %s since found last_activity_at %s == repository %s" % (name, last_activity_at, project.attributes['last_activity_at']))
else:
if debug > 0:
......@@ -151,8 +151,8 @@ for group in blends_groups:
pass
if not dosomething:
continue
if debug > 0:
print("Opening %s failed thus writing." % os.path.join(namedir,name+'.vcs'))
if debug > 1:
print("Writing %s." % os.path.join(namedir,name+'.vcs'))
with open(os.path.join(namedir,name+'.vcs'), 'w') as out:
out.write("Vcs-Browser: https://salsa.debian.org/%s/%s\n" % (gpath, name))
out.write("Vcs-Git: https://salsa.debian.org/%s/%s.git\n" % (gpath, name))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment