Exemple #1
0
 def __init__(self, n_line, date, orig_path=None):
     self.id = DBLine.id_counter
     DBLine.id_counter += 1
     self.line = n_line
     self.date = date
     if orig_path is not None:
         self.orig_path = to_utf8(orig_path)
 def __init__ (self, n_line, date, orig_path = None):
     self.id = DBLine.id_counter
     DBLine.id_counter += 1
     self.line = n_line
     self.date = date
     if orig_path is not None:
         self.orig_path = to_utf8 (orig_path)
Exemple #3
0
 def __init__(self, name):
     self.id = DBAuthor.id_counter
     DBAuthor.id_counter += 1
     self.name = to_utf8(name)
Exemple #4
0
 def __init__(self, path):
     self.id = DBFile.id_counter
     DBFile.id_counter += 1
     self.path = to_utf8(path)
 def __init__ (self, path):
     self.id = DBFile.id_counter
     DBFile.id_counter += 1
     self.path = to_utf8 (path)
 def __init__ (self, name):
     self.id = DBAuthor.id_counter
     DBAuthor.id_counter += 1
     self.name = to_utf8 (name)