X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Futil%2Fversion.py.in;h=97ae6c40a457759ec31737cd89207d580624ee94;hb=47090c0a12d8ccffa6d67692461da61a7b7f67e7;hp=a4edc93e99007416754c99b684b1ebc7b7601bc0;hpb=f5a6829ab1fd58a695c3e6a92bfbf905223c4693;p=sfa.git diff --git a/sfa/util/version.py.in b/sfa/util/version.py.in index a4edc93e..97ae6c40 100644 --- a/sfa/util/version.py.in +++ b/sfa/util/version.py.in @@ -1,11 +1,12 @@ ### updated by the toplevel Makefile version_tag="@VERSIONTAG@" +scm_url="@SCMURL@" import socket - -def version_core (more): - core = { 'geni_api':1, - 'sfa' : 1, - '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(), } core.update(more)