Commit f4623bf1 by Victor Shnayder

address comments on #807

parent 2f30a717
......@@ -25,5 +25,5 @@ def get_site_status_msg():
return content
except:
log.debug("Error while getting a status message: {0}".format(sys.exc_info()))
log.exception("Error while getting a status message.")
return None
......@@ -97,12 +97,6 @@ GENERATE_PROFILE_SCORES = False
XQUEUE_WAITTIME_BETWEEN_REQUESTS = 5 # seconds
# Used for per-maching caching
try:
HOSTNAME = socket.gethostname()
except:
HOSTNAME = 'localhost'
############################# SET PATH INFORMATION #############################
PROJECT_ROOT = path(__file__).abspath().dirname().dirname() # /mitx/lms
REPO_ROOT = PROJECT_ROOT.dirname()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment