Skip to content

Commit

Permalink
Extend original base class so old methods work.
Browse files Browse the repository at this point in the history
Sadly the fact that redirect_url is part of the interface isn't documented as
such in the interface :-(
  • Loading branch information
izak committed Mar 16, 2015
1 parent 44c3e32 commit 097c35e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions emas/mobiletheme/redirector.py
@@ -1,8 +1,6 @@
class Redirector(object):
def __init__(self, context, request):
self.context = context
self.request = request
from gomobile.mobile.redirector import Redirector as BaseRedirector

class Redirector(BaseRedirector):
def intercept(self):
""" We never redirect. """
return False

0 comments on commit 097c35e

Please sign in to comment.