##// END OF EJS Templates
core: add possibility to skip write of metadata by defining metadata.skip key.
marcink -
r1681:7d9eb9ff default
parent child Browse files
Show More
@@ -172,6 +172,10 b' def write_metadata_if_needed(event):'
172 172 with open(metadata_destination, 'wb') as f:
173 173 f.write(ext_json.json.dumps(metadata))
174 174
175 settings = event.app.registry.settings
176 if settings.get('metadata.skip'):
177 return
178
175 179 try:
176 180 write()
177 181 except Exception:
General Comments 0
You need to be logged in to leave comments. Login now