address comments on #807

This commit is contained in:
Victor Shnayder
2012-10-02 17:17:15 -04:00
parent 2f30a717a5
commit f4623bf155
2 changed files with 1 additions and 7 deletions

View File

@@ -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

View File

@@ -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()