Commit f3f523aa authored by Leo Pound Singer's avatar Leo Pound Singer

Track version info API change

Original: 0aac7088bc71670a195b7d295c3fe4b7cf6446a3
parent f25ac8eb
......@@ -218,8 +218,8 @@ del group
# Defer loading SWIG bindings until version string is needed.
class VersionAction(argparse._VersionAction):
def __call__(self, parser, namespace, values, option_string=None):
from .. import InferenceVCSVersion
self.version = 'LALInference ' + InferenceVCSVersion
from .. import InferenceVCSInfo
self.version = 'LALInference ' + InferenceVCSInfo.version
super(VersionAction, self).__call__(
parser, namespace, values, option_string)
......
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