Mercurial > templog
comparison py/utils.py @ 448:fe729664a5e6
working better. logging works properly, cleanup fridge.off() happens.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 16 Dec 2012 22:14:46 +0800 |
parents | c5629d79b4ac |
children | 185621f47040 |
comparison
equal
deleted
inserted
replaced
447:8fdf86ea41e7 | 448:fe729664a5e6 |
---|---|
3 #import ctypes | 3 #import ctypes |
4 import time | 4 import time |
5 import select | 5 import select |
6 import logging | 6 import logging |
7 | 7 |
8 D = logging.debug | |
8 L = logging.info | 9 L = logging.info |
9 W = logging.warning | 10 W = logging.warning |
10 E = logging.error | 11 E = logging.error |
11 | 12 |
12 DEFAULT_TRIES = 3 | 13 DEFAULT_TRIES = 3 |