Skip to content

Commit

Permalink
fix missing param in _create_license_list
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Apr 26, 2012
1 parent 0aad92d commit 6c429da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckan/model/license.py
Expand Up @@ -265,9 +265,9 @@ def load_licenses(self, license_url):
except Exception, inst:
msg = "Couldn't read response from licenses service %r: %s" % (response_body, inst)
raise Exception, inst
self._create_license_list(license_data)
self._create_license_list(license_data, license_url)

def _create_license_list(self, license_data):
def _create_license_list(self, license_data, license_url):
if isinstance(license_data, dict):
self.licenses = [License(entity) for entity in license_data.values()]
elif isinstance(license_data, list):
Expand Down

0 comments on commit 6c429da

Please sign in to comment.