X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Futil%2Fversion.py.in;h=97ae6c40a457759ec31737cd89207d580624ee94;hb=052e281f8c79237b6759cbb259407f071adda1cc;hp=52913281e5ee1e6e16b1b13e0ff0663d780e0015;hpb=40d980701a909581b485fbcf7c58ca3ace543961;p=sfa.git diff --git a/sfa/util/version.py.in b/sfa/util/version.py.in index 52913281..97ae6c40 100644 --- a/sfa/util/version.py.in +++ b/sfa/util/version.py.in @@ -3,10 +3,9 @@ version_tag="@VERSIONTAG@" scm_url="@SCMURL@" import socket -def version_core (more={}): - core = { 'geni_api':1, - 'sfa' : 1, - 'code_tag' : version_tag, +def version_core (more=None): + if more is None: more={} + core = { 'code_tag' : version_tag, 'code_url' : scm_url, 'hostname' : socket.gethostname(), }