Switch DXXProgram._computed_extra_version to staticmethod
It did not use its class argument, so remove it.
This commit is contained in:
parent
20294a54ac
commit
cbf745eb9a
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue