Changeset 3609
- Timestamp:
- 10/26/07 16:32:45 (1 year ago)
- Files:
-
- trunk/Schevo/schevo/script/db_update.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Schevo/schevo/script/db_update.py
r3509 r3609 36 36 metavar='PATH', 37 37 default=None, 38 ) 39 p.add_option('-k', '--pack', 40 dest = 'pack', 41 help = 'Pack the database.', 42 action = 'store_true', 43 default = False, 38 44 ) 39 45 p.add_option('-s', '--schema', dest='schema_path', … … 94 100 print 'Importing icons...' 95 101 schevo.icon.install(db, icon_path) 96 # Pack the database. 97 print 'Packing the database...' 98 db.pack() 102 if options.pack: 103 # Pack the database. 104 print 'Packing the database...' 105 db.pack() 99 106 # Done. 100 107 db.close()
