X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Futil%2Fversion.py.in;h=97ae6c40a457759ec31737cd89207d580624ee94;hb=052e281f8c79237b6759cbb259407f071adda1cc;hp=3749023352fdc28037075b446e912ea37206f749;hpb=cb95efd42c466cd7bcdfa2423a024ca210322964;p=sfa.git diff --git a/sfa/util/version.py.in b/sfa/util/version.py.in index 37490233..97ae6c40 100644 --- a/sfa/util/version.py.in +++ b/sfa/util/version.py.in @@ -2,11 +2,10 @@ 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(), }