comparison roundup/xmlrpc.py @ 5072:1c792cf0a574

Remove 'import *' statement from xmlrpc.py There are various 'import *' statements scattered through the code which are generally not a good thing. These should be fairly safe changes, but I'll commit them one file at a time to make it easier to track down issues with a bisect if they crop up later.
author John Kristensen <john@jerrykan.com>
date Fri, 10 Jun 2016 17:08:37 +1000
parents 6b7f257e5de8
children 198b6e810c67
comparison
equal deleted inserted replaced
5071:a7541077cf12 5072:1c792cf0a574
3 # All rights reserved. 3 # All rights reserved.
4 # For license terms see the file COPYING.txt. 4 # For license terms see the file COPYING.txt.
5 # 5 #
6 6
7 from roundup import hyperdb 7 from roundup import hyperdb
8 from roundup.cgi.exceptions import * 8 from roundup.exceptions import Unauthorised, UsageError
9 from roundup.exceptions import UsageError
10 from roundup.date import Date, Range, Interval 9 from roundup.date import Date, Range, Interval
11 from roundup import actions 10 from roundup import actions
12 from SimpleXMLRPCServer import * 11 from SimpleXMLRPCServer import SimpleXMLRPCDispatcher
13 from xmlrpclib import Binary 12 from xmlrpclib import Binary
14 13
15 def translate(value): 14 def translate(value):
16 """Translate value to becomes valid for XMLRPC transmission.""" 15 """Translate value to becomes valid for XMLRPC transmission."""
17 16

Roundup Issue Tracker: http://roundup-tracker.org/