Skip to content

Commit

Permalink
Fixing merge
Browse files Browse the repository at this point in the history
  • Loading branch information
rossjones committed Sep 14, 2012
2 parents 5fa94a2 + c3db69f commit 3adc136
Show file tree
Hide file tree
Showing 49 changed files with 3,904 additions and 2,247 deletions.
2 changes: 1 addition & 1 deletion ckan/config/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def make_app(global_conf, full_stack=True, static_files=True, **app_conf):
#app = QueueLogMiddleware(app)

# Fanstatic
if config.get('ckan.include_support', '').lower()[:3] == 'dev':
if asbool(config.get('debug', False)):
fanstatic_config = {
'versioning' : True,
'recompute_hashes' : True,
Expand Down
1 change: 0 additions & 1 deletion ckan/html_resources/.gitignore

This file was deleted.

285 changes: 0 additions & 285 deletions ckan/html_resources/__init__.py

This file was deleted.

5 changes: 4 additions & 1 deletion ckan/lib/app_globals.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ def get_globals_key(key):
def reset():
''' set updatable values from config '''
def get_config_value(key, default=''):
value = model.get_system_info(key)
if model.meta.engine.has_table('system_info'):
value = model.get_system_info(key)
else:
value = None
# we want to store the config the first time we get here so we can
# reset them if needed
config_value = config.get(key)
Expand Down

0 comments on commit 3adc136

Please sign in to comment.