git://git.onelab.eu
/
unfold.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e282dd
)
portal_version working with apache
author
Loic Baron
<loic.baron@lip6.fr>
Wed, 13 May 2015 09:42:28 +0000
(11:42 +0200)
committer
Loic Baron
<loic.baron@lip6.fr>
Wed, 13 May 2015 09:42:28 +0000
(11:42 +0200)
myslice/settings.py
patch
|
blob
|
history
diff --git
a/myslice/settings.py
b/myslice/settings.py
index
0e0bf37
..
0caee25
100644
(file)
--- a/
myslice/settings.py
+++ b/
myslice/settings.py
@@
-31,7
+31,7
@@
except:
if not config.myslice.portal_version:
try:
- PORTAL_VERSION = subprocess.check_output(["git", "describe"])
+ PORTAL_VERSION = subprocess.check_output(["git", "
--git-dir", ROOT + "/.git", "
describe"])
except:
PORTAL_VERSION = 'not using git'