예제 #1
0
파일: db.py 프로젝트: sarroutbi/guilty
 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)
예제 #2
0
파일: db.py 프로젝트: sarroutbi/guilty
 def __init__ (self, path):
     self.id = DBFile.id_counter
     DBFile.id_counter += 1
     self.path = to_utf8 (path)
예제 #3
0
파일: db.py 프로젝트: sarroutbi/guilty
 def __init__ (self, name):
     self.id = DBAuthor.id_counter
     DBAuthor.id_counter += 1
     self.name = to_utf8 (name)