Changeset 169 for 06/devel/searchPY.py
- Timestamp:
- 08/04/05 21:52:22 (3 years ago)
- Files:
-
- 1 modified
-
06/devel/searchPY.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
06/devel/searchPY.py
r161 r169 48 48 def insert(self, dummy, text): print text 49 49 50 51 50 class no_message: 52 51 def __init__(self): pass … … 55 54 # ------------------------------------------------------------------------- 56 55 57 56 class dummy_progbar: 57 def __init__(self): 58 pass 59 60 def clear(self): 61 pass 62 63 def redraw(self, x): 64 print x 65 66 def write(self, text): 67 pass 68 69 # ------------------------------------------------------------------------- 70 58 71 class SGFDatabase: 59 72 60 73 def __init__(self, boardsize, progBar): 61 74 self.boardsize = boardsize 62 self.progBar = progBar 75 if not progBar is None: self.progBar = progBar 76 else: self.progBar = dummy_progbar() 63 77 self.datapath = ('', '') 64 78 self.sgfpath = ''
