Skip to content

Commit

Permalink
Add the warning again
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Aug 1, 2012
1 parent 65a0dce commit 7da5d7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ckan/lib/maintain.py
Expand Up @@ -70,6 +70,7 @@ class Fake(object):
def __init__(self, obj):
self._obj = obj
def __getattribute__(self,name):
log.warning('c.%s has been deprecated. %s', item_name, message)
obj = object.__getattribute__(self, '_obj')
# hack to get the actual object when needed
if name == '_obj':
Expand Down

0 comments on commit 7da5d7e

Please sign in to comment.