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 c333d08 commit ad1785c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ckan/lib/maintain.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,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 ad1785c

Please sign in to comment.