]> git.ipfire.org Git - thirdparty/patchwork.git/commit
Don't catch non-Python 2.7 exceptions
authorStephen Finucane <stephen@that.guru>
Wed, 1 Mar 2017 22:22:59 +0000 (22:22 +0000)
committerStephen Finucane <stephen@that.guru>
Wed, 1 Mar 2017 22:22:59 +0000 (22:22 +0000)
commitd3e9aee4605411ad3ab672e7dd6b7bdd15836fe3
tree1f0956a88321d383372ba7dd5eca0dc0a5c2fc59
parentcd304e424cd805a28803e2662cd3a79acd5a3f17
Don't catch non-Python 2.7 exceptions

The 'FileNotFoundError' exception is only available in Python 3.3+.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes: 7b07b71e ("templates: Add Patchwork version")
patchwork/version.py