Skip to content

Commit

Permalink
[#2618] Reduce fanstatic noise
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Aug 17, 2012
1 parent c5274a4 commit 650ca21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ckan/lib/fanstatic_resources.py
Expand Up @@ -72,7 +72,7 @@ def minify(filename, resource_path, min_function):
f = open(path_min, 'w')
f.write(min_function(source))
f.close()
log.info('minified %s' % path)
log.debug('minified %s' % path)

def create_resource(path, lib_name, count, inline=False):
''' create the fanstatic Resource '''
Expand Down Expand Up @@ -131,7 +131,7 @@ def create_resource(path, lib_name, count, inline=False):
resource = Resource(library, path, **kw)
# add the resource to this module
fanstatic_name = '%s/%s' % (lib_name, path)
log.info('create resource %s' % fanstatic_name)
log.debug('create resource %s' % fanstatic_name)
setattr(module, fanstatic_name, resource)
return resource

Expand Down
1 change: 0 additions & 1 deletion ckan/lib/helpers.py
Expand Up @@ -1113,7 +1113,6 @@ def remove_url_param(key, value=None, replace=None, controller=None,
action=action, extras=extras)

def include_resource(resource):
print '###', resource
r = getattr(fanstatic_resources, resource)
r.need()

Expand Down

0 comments on commit 650ca21

Please sign in to comment.