Permalink
Browse files

removing hard to understand method

  • Loading branch information...
1 parent 9ed3129 commit 4eda0228020092021fe5d38296b113d5f428a880 @timdiggins timdiggins committed Mar 15, 2012
Showing with 0 additions and 6 deletions.
  1. +0 −6 immutablefield/models.py
View
@@ -146,12 +146,6 @@ def is_immutable(self):
def has_immutable_lock_field(self):
return self._meta.immutable_lock_field != None
- def field_has_immutable_lock_field(self, field):
- if hasattr(field, '_meta'):
- return hasattr(field._meta, 'immutable_lock_field')
- else:
- return False
-
def delete(self):
if not self._meta.immutable_is_deletable and self.is_immutable():
if self._meta.immutable_quiet:

0 comments on commit 4eda022

Please sign in to comment.