X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Futil%2Fversion.py.in;h=97ae6c40a457759ec31737cd89207d580624ee94;hb=4a2337e7f70cef81a8de37829aa63fc941c4b96e;hp=37a1ab0204097c771ce7f0890a5747a332276624;hpb=a9be3440c68ff6dab1e9da216f96f97d5e1ff27a;p=sfa.git diff --git a/sfa/util/version.py.in b/sfa/util/version.py.in index 37a1ab02..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(), }