Package acis_xmlrpc :: Module config
[hide private]
[frames] | no frames]

Source Code for Module acis_xmlrpc.config

 1  """ 
 2  ACIS XML-RPC General config variables. 
 3  @since: May 2007 
 4  @author: Grant Kelly 
 5  """ 
 6  XMLRPC_SERVER_PORT = 8100 
 7  GENERAL_UCAN_NAME = "ACIS XML-RPC" 
 8  DATE_FORMATS = { 
 9      "YYYYMMDD": "%Y/%m/%d", 
10      "MMDDYYYY": "%m/%d/%Y", 
11      "DDMMYYYY": "%d/%m/%Y", 
12  } 
13  DELIMITED_FORMATS = { 
14      'csv': ',', 
15      'tab': '\t', 
16      'pipe': '|', 
17      'space': ' ', 
18  } 
19  CODE_STN_NOT_FOUND = 404 
20  CODE_NO_DATA = 405 
21  CODE_INVALID_DATES = 406 
22  CODE_STN_HAS_DATA = 200 
23  INTERNAL_SERVER_ERROR = 500 
24  DEFAULT_N_DAYS = 7 
25  LINE_ENDS = '\r\n' 
26  KEEP_PARSER_LOG = True 
27  PARSER_LOG = "parser.log" 
28