modified the logging to comply with what is on the docs.python.org page on the logging library and how it should be used

This commit is contained in:
sm
2011-03-22 11:10:19 -06:00
parent 2c07c3ba45
commit 05d1b962fc
5 changed files with 25 additions and 32 deletions
+2 -2
View File
@@ -9,8 +9,8 @@ from scipy.spatial import KDTree
from interp.baker import run_baker
import interp.grid.simplex
#TODO: do logging right
from interp.tools import log
import logging
log = logging.getLogger("interp")
class grid(object):
def __init__(self, verts = None, q = None):
-1
View File
@@ -1,5 +1,4 @@
from interp.baker import get_phis
from interp.tools import log
TOL = 1e-8