]>
Commit | Line | Data |
---|---|---|
1 | class DummyImplementation(object):\r | |
2 | def __init__(self, *args, **kwargs):\r | |
3 | pass\r | |
4 | \r | |
5 | def __getattr__(self, *args, **kwargs):\r | |
6 | raise Exception, "Not implemented."\r | |
7 | \r | |
8 | def login_optional(self, *args, **kwargs):\r | |
9 | return None\r | |
10 | \r | |
11 | @classmethod\r | |
12 | def get_session_data(self, *args, **kwargs):\r | |
13 | return {}\r | |
14 | \r | |
15 | twisted = DummyImplementation |