Permalink
Browse files

Remove unused UserList.addable property.

  • Loading branch information...
1 parent 46d618c commit 984585d54b681d721d33ec614e9b58ae2f39cf2a @chromakode chromakode committed Oct 3, 2012
Showing with 3 additions and 6 deletions.
  1. +3 −6 r2/r2/lib/pages/pages.py
View
@@ -2796,11 +2796,8 @@ class UserList(Templated):
remove_action = "unfriend"
editable_fn = None
- def __init__(self, editable=True, addable=None):
+ def __init__(self, editable=True):
self.editable = editable
- if addable is None:
- addable = editable
- self.addable = addable
Templated.__init__(self)
def user_row(self, user):
@@ -2881,8 +2878,8 @@ class EnemyList(UserList):
type = 'enemy'
cells = ('user', 'remove')
- def __init__(self, editable=True, addable=False):
- UserList.__init__(self, editable, addable)
+ def __init__(self, editable=True):
+ UserList.__init__(self, editable)
@property
def table_title(self):

0 comments on commit 984585d

Please sign in to comment.