Skip to content

Commit

Permalink
Hack at a tastyhack that doesn't work with the latest version of tast…
Browse files Browse the repository at this point in the history
…ypie. Hoping to fix newsapps#33
  • Loading branch information
palewire committed Mar 23, 2013
1 parent 5908126 commit 150247a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions boundaryservice/tastyhacks.py
Expand Up @@ -86,6 +86,8 @@ def get_resource_uri(self, bundle_or_obj):

if isinstance(bundle_or_obj, Bundle):
kwargs['slug'] = bundle_or_obj.obj.slug
elif bundle_or_obj is None:
kwargs['slug'] = None
else:
kwargs['slug'] = bundle_or_obj.slug

Expand Down

0 comments on commit 150247a

Please sign in to comment.