X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Futil%2Fversion.py.in;h=97ae6c40a457759ec31737cd89207d580624ee94;hb=3e6097e2d50ff322b45f53fcb22d07fc16adbdb6;hp=37a1ab0204097c771ce7f0890a5747a332276624;hpb=4130e72e646c0576d695fcf9c739561764dcaba8;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(), }