comparison Generic/fiebdc.py @ 6:2fc6b47dbe70

rename module globals to globalVars
author Miguel Ángel Bárcena Rodríguez <miguelangel@obraencurso.es>
date Sat, 06 Nov 2010 22:33:32 +0100
parents 6502bfdaa84d
children 0359329a1c26
comparison
equal deleted inserted replaced
5:6502bfdaa84d 6:2fc6b47dbe70
28 import os.path 28 import os.path
29 29
30 # pyArq-Presupuestos modules 30 # pyArq-Presupuestos modules
31 import base 31 import base
32 from Generic import utils 32 from Generic import utils
33 from Generic import globals 33 from Generic import globalVars
34 34
35 class Read(object): 35 class Read(object):
36 """fiebdc.Read: 36 """fiebdc.Read:
37 37
38 Description: 38 Description:
92 # 437 -> IBM437 -> cp437 92 # 437 -> IBM437 -> cp437
93 self.__character_sets_dict = {"ANSI" : "cp1252", 93 self.__character_sets_dict = {"ANSI" : "cp1252",
94 "850" : "850", 94 "850" : "850",
95 "437" : "cp437"} 95 "437" : "cp437"}
96 self.__file_format = "FIEBDC-3/2007" 96 self.__file_format = "FIEBDC-3/2007"
97 self.__generator = globals.version 97 self.__generator = globalVars.version
98 self.__character_set = "850" 98 self.__character_set = "850"
99 self.__pattern = { 99 self.__pattern = {
100 "control_tilde" : re.compile("((\r\n)| |\t)+~"), 100 "control_tilde" : re.compile("((\r\n)| |\t)+~"),
101 "control_vbar" : re.compile("((\r\n)| |\t)+\|"), 101 "control_vbar" : re.compile("((\r\n)| |\t)+\|"),
102 "control_backslash" : re.compile(r"((\r\n)| |\t)+\\"), 102 "control_backslash" : re.compile(r"((\r\n)| |\t)+\\"),