git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
still more pep8
[sfa.git]
/
sfa
/
util
/
version.py.in
diff --git
a/sfa/util/version.py.in
b/sfa/util/version.py.in
index
a4edc93
..
97ae6c4
100644
(file)
--- a/
sfa/util/version.py.in
+++ b/
sfa/util/version.py.in
@@
-1,11
+1,12
@@
### updated by the toplevel Makefile
version_tag="@VERSIONTAG@"
### updated by the toplevel Makefile
version_tag="@VERSIONTAG@"
+scm_url="@SCMURL@"
import socket
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)
'hostname' : socket.gethostname(),
}
core.update(more)