Skip to content

Commit

Permalink
As reported in issue #54. TagManager.cloud_for_model was not passing …
Browse files Browse the repository at this point in the history
…its distribution argument on to calculate_cloud
  • Loading branch information
jonathan.buchanan committed Dec 29, 2007
1 parent 952e00e commit 1565429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tagging/managers.py
Expand Up @@ -221,7 +221,7 @@ def cloud_for_model(self, Model, steps=4, distribution=LOGARITHMIC, filters=None
for the ``min_count`` argument.
"""
tags = list(self.usage_for_model(Model, counts=True, filters=filters, min_count=min_count))
return calculate_cloud(tags, steps)
return calculate_cloud(tags, steps, distribution)

def _get_related_model_by_accessor(self, accessor):
"""
Expand Down

0 comments on commit 1565429

Please sign in to comment.