Changeset 3626
- Timestamp:
- 17/10/08 18:21:09 (3 months ago)
- Files:
-
- 1 modified
-
trunk/beacon/src/db.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/beacon/src/db.py
r3625 r3626 370 370 parent = directories.pop(0) 371 371 for i in (yield self._db_query_dir(parent)): 372 if i['type'] == 'dir': 373 child = create_directory(i, parent) 374 if not child._beacon_islink: 375 directories.append(child) 376 else: 377 items.append(create_by_type(i, parent)) 372 if i.isdir and not i._beacon_islink: 373 directories.append(child) 374 items.append(i) 378 375 if time.time() > timer + 0.1: 379 376 # we used too much time. Call yield NotFinished at
