X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Futil%2Fversion.py.in;h=46b31d392eb9c1791d8329c76a20ac215cfd75b1;hb=4c97a7b3bb320e9ebb82e90d3da04379c73f1f5b;hp=794d428e1345e46deef535cb5c5fc2bdc1182d8a;hpb=8c18e6efae48c158711aa174da13a4040f015163;p=sfa.git diff --git a/sfa/util/version.py.in b/sfa/util/version.py.in index 794d428e..46b31d39 100644 --- a/sfa/util/version.py.in +++ b/sfa/util/version.py.in @@ -2,17 +2,11 @@ version_tag="@VERSIONTAG@" scm_url="@SCMURL@" import socket - -from sfa.util.config import Config def version_core (more={}): - config = Config() - hostname = socket.gethostname() core = { 'code_tag' : version_tag, 'code_url' : scm_url, - 'hostname' : hostname, - 'geni_api': 3, - 'geni_api_versions': {'3': "%s:%s" % (hostname, config.sfa_aggregate_port)}, + 'hostname' : socket.gethostname(), } core.update(more) return core