diff options
Diffstat (limited to 'libpathod/utils.py')
-rw-r--r-- | libpathod/utils.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/libpathod/utils.py b/libpathod/utils.py index 0e3bda9d..f421b8a6 100644 --- a/libpathod/utils.py +++ b/libpathod/utils.py @@ -4,31 +4,6 @@ import rparse class AnchorError(Exception): pass -class Sponge: - def __getattr__(self, x): - return Sponge() - - def __call__(self, *args, **kwargs): - pass - - -class DummyRequest: - connection = Sponge() - def __init__(self): - self.buf = [] - - def write(self, d, callback=None): - self.buf.append(str(d)) - if callback: - callback() - - def getvalue(self): - return "".join(self.buf) - - def finish(self): - return - - def parse_anchor_spec(s, settings): """ For now, this is very simple, and you can't have an '=' in your regular |