FIT IoT-Lab shell: modified add_user category of user is required
[sfa.git] / sfa / util / version.py.in
index a4edc93..97ae6c4 100644 (file)
@@ -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)