We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8aac2d6 commit ee22d9dCopy full SHA for ee22d9d
roundup/anypy/xmlrpc_.py
@@ -1,7 +1,8 @@
1
try:
2
# Python 3+.
3
from xmlrpc import client, server
4
-except ImportError:
+ server.SimpleXMLRPCDispatcher
5
+except (ImportError, AttributeError):
6
# Python 2.
7
import xmlrpclib as client
8
import SimpleXMLRPCServer as server
0 commit comments