Mercurial > hg > AuthRPC
diff __init__.py @ 0:6a61cfdf6930
Initial version
author | Ben Croston <ben@croston.org> |
---|---|
date | Tue, 30 Aug 2011 22:19:48 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/__init__.py Tue Aug 30 22:19:48 2011 +0100 @@ -0,0 +1,7 @@ +import platform +if platform.python_version().startswith('2'): + from webob_jsonrpc.JsonRpcApp import JsonRpcApp + from webob_jsonrpc.ServerProxy2 import ServerProxy2 as ServerProxy +else: + from webob_jsonrpc.ServerProxy import ServerProxy +