Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b9e6d1b4
authored
Apr 19, 2013
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
django: fix git rev-parse for prod env
parent
fbd22b18
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
cloud/settings/base.py
+6
-2
No files found.
cloud/settings/base.py
View file @
b9e6d1b4
...
@@ -265,7 +265,11 @@ DEFAULT_FROM_EMAIL = "noreply@cloud.ik.bme.hu"
...
@@ -265,7 +265,11 @@ DEFAULT_FROM_EMAIL = "noreply@cloud.ik.bme.hu"
DELETE_VM
=
False
DELETE_VM
=
False
EMAIL_HOST
=
'152.66.243.92'
# giccero ipv4
EMAIL_HOST
=
'152.66.243.92'
# giccero ipv4
CLOUD_URL
=
'https://cloud.ik.bme.hu/'
CLOUD_URL
=
'https://cloud.ik.bme.hu/'
RELEASE
=
subprocess
.
check_output
(
try
:
[
'git'
,
'rev-parse'
,
'--symbolic-full-name'
,
'--abbrev-ref'
,
'HEAD'
])
os
.
chdir
(
'/opt/webadmin/cloud/'
)
RELEASE
=
subprocess
.
check_output
(
[
'/usr/bin/git'
,
'rev-parse'
,
'--symbolic-full-name'
,
'--abbrev-ref'
,
'HEAD'
])
except
:
RELEASE
=
'n/a'
# vim: et sw=4 ai fenc=utf8 smarttab :
# vim: et sw=4 ai fenc=utf8 smarttab :
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment