Skip to content

Commit

Permalink
When using super() you don't need to pass self
Browse files Browse the repository at this point in the history
  • Loading branch information
kopertop committed Jan 5, 2015
1 parent 6497b5c commit 6faff94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion botoweb/db/property.py
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ def __set__(self, obj, value):
super(JSONProperty, self).__set__(obj, value)

def __get__(self, obj, objtype):
return super(JSONProperty, self).__get__(self, obj, objtype)
return super(JSONProperty, self).__get__(obj, objtype)

def default_validator(self, value):
if value is None or value == self.default_value():
Expand Down

0 comments on commit 6faff94

Please sign in to comment.