From a9c87a23f2cee3afd14bcde08b7db25cc7f9af4c Mon Sep 17 00:00:00 2001 From: Josh Pollock Date: Sat, 6 Feb 2021 18:44:52 -0500 Subject: [PATCH] Update publications template for Python 3 Without this change, the Makefile fails when using Python 3. ``` mkdir -p _includes bibble bib/pubs.bib bib/publications.tmpl > _includes/pubs.html Traceback (most recent call last): File "/usr/local/bin/bibble", line 8, in sys.exit(main()) File "/usr/local/lib/python3.8/site-packages/click/core.py", line 829, in __call__ return self.main(*args, **kwargs) File "/usr/local/lib/python3.8/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/local/lib/python3.8/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/usr/local/lib/python3.8/site-packages/bibble/main.py", line 183, in main out = tmpl.render(entries=bib_sorted) File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 1090, in render self.environment.handle_exception() File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 832, in handle_exception reraise(*rewrite_traceback_stack(source=source)) File "/usr/local/lib/python3.8/site-packages/jinja2/_compat.py", line 28, in reraise raise value.with_traceback(tb) File "