Skip to content

Commit

Permalink
[#2618] Better naming in fanstatic patch
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Aug 7, 2012
1 parent ebb0524 commit 1259a51
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ckan/html_resources/__init__.py
Expand Up @@ -68,7 +68,7 @@ def __init__(self, library, relpath,
debug=None,
dont_bundle=False,
minified=None,
order=0):
custom_order=0):
self.library = library
fullpath = os.path.normpath(os.path.join(library.path, relpath))
if core._resource_file_existence_checking and not os.path.exists(fullpath):
Expand All @@ -80,7 +80,7 @@ def __init__(self, library, relpath,
self.dirname += '/'
self.bottom = bottom
self.dont_bundle = dont_bundle
self.forced_order = order
self.custom_order = custom_order

self.ext = os.path.splitext(self.relpath)[1]
if renderer is None:
Expand Down Expand Up @@ -211,7 +211,7 @@ def sort_resources(resources):
def key(resource):
return (
resource.order,
resource.forced_order,
resource.custom_order,
resource.library.library_nr,
resource.library.name,
resource.dependency_nr,
Expand Down

0 comments on commit 1259a51

Please sign in to comment.