mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
Make PromoteLinkNew subclass of PromoteLinkBase.
Not needed at this point, but for consistency.
This commit is contained in:
@@ -3581,8 +3581,6 @@ class PromotePage(Reddit):
|
||||
kw['show_sidebar'] = False
|
||||
Reddit.__init__(self, nav_menus=nav_menus, *a, **kw)
|
||||
|
||||
class PromoteLinkNew(Templated):
|
||||
pass
|
||||
|
||||
class PromoteLinkBase(Templated):
|
||||
min_start = None
|
||||
@@ -3631,6 +3629,10 @@ class PromoteLinkBase(Templated):
|
||||
self.collections = [cl.__dict__ for cl in Collection.get_all()]
|
||||
|
||||
|
||||
class PromoteLinkNew(PromoteLinkBase):
|
||||
pass
|
||||
|
||||
|
||||
class PromoteLinkEdit(PromoteLinkBase):
|
||||
def __init__(self, link, listing, *a, **kw):
|
||||
self.setup(link, listing)
|
||||
|
||||
Reference in New Issue
Block a user