Conditionalize that so I can debug in stg.

This commit is contained in:
Ralph Bean 2015-12-17 17:32:13 +00:00
parent 6750a233fd
commit 0e2ee11f58

View file

@ -131,15 +131,17 @@ if __name__ == '__main__':
(pkg, ACTIVE[branch])
)
## While we debug this issue in stg
# print ''
# print 'repo %s%s' % (key, pkg)
# print '\n'.join(buffer)
# for reserved in RESERVED:
# print ' - %s = @all' % reserved
# print ' RWC refs/tags/ = %s' % ' '.join(writers)
# if masters:
# print ' RWC = %s' % ' '.join(masters)
{% if env == 'staging' %}
# While we debug this issue in stg
print ''
print 'repo %s%s' % (key, pkg)
print '\n'.join(buffer)
for reserved in RESERVED:
print ' - %s = @all' % reserved
print ' RWC refs/tags/ = %s' % ' '.join(writers)
if masters:
print ' RWC = %s' % ' '.join(masters)
{% endif %}
# Bring backward compatibility while we keep the symlinks in place
# from the old to the new locations.