consolidate.py raises AttributeError with `-p` and `-A` flag
I'm learning how to use the consolidate script with the CSPP Geo Geo2Grid Viewer project. As a test I piped some inotify output to a file and then have been cat
ing that to consolidate as a test. I've attached the file to this issue.
When I run:
cat test_inotifywatch.txt | python consolidate.py -t 60 -p -A
It returns a ton of stuff and then:
Traceback (most recent call last):
File "consolidate.py", line 510, in <module>
sys.exit(main())
File "consolidate.py", line 506, in main
return consolidate_paths(r, inputs, **kw)
File "consolidate.py", line 405, in consolidate_paths
maintenance(final=True)
File "consolidate.py", line 379, in maintenance
txt = expired(None, tag, key, entry, None)
File "consolidate.py", line 139, in pug_format_emit_complete
skey = ' '.join('{}={}'.format(k, repr(v)) for (k, v) in sorted(key.items()))
AttributeError: 'tuple' object has no attribute 'items'
Am I doing something wrong?