Changeset 9656
- Timestamp:
- Sep 4, 2011, 12:57:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/django_gheat/gheat/management/commands/import_nodes.py
r9597 r9656 24 24 logger.setLevel(logging.INFO) 25 25 26 INPUT_TIMEOUT = 10 27 26 28 27 29 class Command(BaseCommand): … … 40 42 41 43 filename = args[0] 42 timeout = 243 44 if filename == '-': 44 rlist, _, _ = select([sys.stdin], [], [], timeout) 45 logger.info("Waiting %s seconds for input to arive", INPUT_TIMEOUT) 46 rlist, _, _ = select([sys.stdin], [], [], INPUT_TIMEOUT) 45 47 if rlist: 46 48 fh = sys.stdin
Note:
See TracChangeset
for help on using the changeset viewer.