Commit aa6f051f by Sébastien Eustace

Make Env.get_base_prefix() a class method

parent cbc45909
......@@ -208,7 +208,8 @@ class Env(object):
build(path)
def get_base_prefix(self): # type: () -> Path
@classmethod
def get_base_prefix(cls): # type: () -> Path
if hasattr(sys, "real_prefix"):
return sys.real_prefix
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment