Conditionalize that so I can debug in stg.
This commit is contained in:
parent
6750a233fd
commit
0e2ee11f58
1 changed files with 11 additions and 9 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue