2008-02-22 Raphael Ackermann <raphael.ackermann@gmail.com>

* various (294 files)
	pep8 doc fixes & pylint fixes

svn: r10103
This commit is contained in:
Raphael Ackermann
2008-02-24 13:55:55 +00:00
parent 2180fa02cb
commit c962d5e6e1
294 changed files with 2925 additions and 2571 deletions

View File

@@ -206,7 +206,7 @@ class GeneWebParser:
idx = 1;
self.debug("\nHusband:")
(idx,husband) = self.parse_person(fields,idx,gen.lib.Person.MALE,None)
(idx, husband) = self.parse_person(fields,idx,gen.lib.Person.MALE,None)
if husband:
self.current_husband_handle = husband.get_handle()
self.current_family.set_father_handle(husband.get_handle())
@@ -379,7 +379,7 @@ class GeneWebParser:
self.db.commit_family(self.current_family,self.trans)
return None
def _read_notes_lines(self,note_tag):
def _read_notes_lines(self, note_tag):
note_txt = ""
while True:
line = self.get_next_line()
@@ -904,7 +904,7 @@ class GeneWebParser:
nchar = unichr(int(match.group(3),16))
else: # Decimal
nchar = unichr(int(match.group(3)))
s = s.replace(match.group(0),nchar)
s = s.replace(match.group(0), nchar)
except UnicodeDecodeError:
pass
@@ -914,7 +914,7 @@ class GeneWebParser:
try:
if match.group(2) in name2codepoint:
nchar = unichr(name2codepoint[match.group(2)])
s = s.replace(match.group(0),nchar)
s = s.replace(match.group(0), nchar)
except UnicodeDecodeError:
pass