Skip to content

Commit

Permalink
Add the warning again
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes authored and kindly committed Aug 15, 2012
1 parent 489717f commit b28adbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ckan/lib/maintain.py
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 b28adbf

Please sign in to comment.