Re: FYI: git-hooks update on sourceware.org

Simon Marchi
2020-08-07T16:02:30Z

On 2020-08-07 12:00 p.m., Simon Marchi wrote:
> What version of Python are you using, is it really old? All the reasonably recent
> and supported Python versions ship with the enum module.

Ah nevermind, I thought it was available in 2.7, but no. So I presume you use 2.7.

In this case, this module can help, it backports the enum module introduced in 3.4:

https://pypi.org/project/enum34/

Or, making sure you use python3 on the server could just be easier.

Simon