From 650ca2164c5d20b1632618d909dd04d0d9c00090 Mon Sep 17 00:00:00 2001 From: tobes Date: Fri, 17 Aug 2012 14:44:49 +0100 Subject: [PATCH] [#2618] Reduce fanstatic noise --- ckan/lib/fanstatic_resources.py | 4 ++-- ckan/lib/helpers.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ckan/lib/fanstatic_resources.py b/ckan/lib/fanstatic_resources.py index 8152b7fa5f2..2e079188eac 100644 --- a/ckan/lib/fanstatic_resources.py +++ b/ckan/lib/fanstatic_resources.py @@ -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 ''' @@ -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 diff --git a/ckan/lib/helpers.py b/ckan/lib/helpers.py index ad2e2448182..8cce1a68ea5 100644 --- a/ckan/lib/helpers.py +++ b/ckan/lib/helpers.py @@ -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()