Switch DXXProgram._computed_extra_version to staticmethod

It did not use its class argument, so remove it.
This commit is contained in:
Kp 2016-08-13 22:20:13 +00:00
parent 20294a54ac
commit cbf745eb9a

View file

@ -3642,8 +3642,8 @@ class DXXProgram(DXXCommon):
cls._computed_extra_version = c = (v or '', s, ds)
return c
@classmethod
def _compute_extra_version(cls):
@staticmethod
def _compute_extra_version():
try:
g = Git.pcall(['describe', '--tags', '--abbrev=12'], stderr=subprocess.PIPE)
except OSError as e: