Skip to content

getMetadata.py Fix, 21.2 branch (2019.06.04.)

Removed the dependence on pytz from getMetadata.py. This is to fix ATLASG-1500.

Since the code just needs to get the current time in UTC, the builtin datetime.utcnow() function can be used for that as well. And in any case, I'm not even sure what the 'UCT' timezone was doing in the old code. 😕 (Notice the difference between 'UTC' and 'UCT'...)

I ran some very simple tests with the updated script on top of the latest AthAnalysis nightly, it seemed to work...

Merge request reports