[Yt-svn] yt: Moved mylog import to before the first call to mylog. My fa...
hg at spacepope.org
hg at spacepope.org
Fri Sep 3 11:05:08 PDT 2010
hg Repository: yt
details: yt/rev/17ba6b86d445
changeset: 3375:17ba6b86d445
user: Britton Smith <brittonsmith at gmail.com>
date:
Fri Sep 03 14:05:04 2010 -0400
description:
Moved mylog import to before the first call to mylog. My fault.
diffstat:
yt/analysis_modules/halo_merger_tree/merger_tree.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (25 lines):
diff -r 7cb218c4c65e -r 17ba6b86d445 yt/analysis_modules/halo_merger_tree/merger_tree.py
--- a/yt/analysis_modules/halo_merger_tree/merger_tree.py Fri Sep 03 13:57:01 2010 -0400
+++ b/yt/analysis_modules/halo_merger_tree/merger_tree.py Fri Sep 03 14:05:04 2010 -0400
@@ -27,10 +27,6 @@
import os, glob, md5, time, gc, sys
import h5py
import types
-try:
- import sqlite3 as sql
-except ImportError:
- mylog.error("sqlite3 not imported!")
from yt.funcs import *
@@ -49,6 +45,10 @@
ParallelAnalysisInterface, \
parallel_blocking_call
+try:
+ import sqlite3 as sql
+except ImportError:
+ mylog.error("sqlite3 not imported!")
column_types = {
"GlobalHaloID":"INTEGER",
More information about the yt-svn
mailing list