- Timestamp:
- May 13, 2012, 10:44:37 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/django_gheat/gheat/management/commands/import_datafile.py
r9823 r10814 22 22 from gheat.dataimport import import_file 23 23 24 logg er = logging.getLogger(__name__)25 logger .setLevel(logging.INFO)24 logging.basicConfig(level=logging.INFO, format='# %(levelname)s: %(msg)s') 25 logger = logging.getLogger() 26 26 27 27 … … 77 77 help="Provide date in following format: '%Y%m%d-%H-%M-%S-1', by \ 78 78 default it will be generated from the filename"), 79 make_option('-b', '--batch', dest='batch', default=False, action="store_true", 80 help="Batch import modes, gives no errors if items is already imported"), 79 81 ) 80 82
Note:
See TracChangeset
for help on using the changeset viewer.