Move `import with_statement` from sawsim_histogram to sawsim.
authorW. Trevor King <wking@drexel.edu>
Sat, 23 Oct 2010 13:31:47 +0000 (09:31 -0400)
committerW. Trevor King <wking@drexel.edu>
Sat, 23 Oct 2010 13:31:47 +0000 (09:31 -0400)
pysawsim/sawsim.py
pysawsim/sawsim_histogram.py

index 858db1c8edc76cc49c2ce752ec0c9b5fe2cd7793..67cfe297c6151eaf530dc7d7a9dca9adb3166a56 100644 (file)
@@ -21,6 +21,8 @@
 """`Seminar` for running `sawsim` and parsing the results.
 """
 
+from __future__ import with_statement
+
 try:
     from collections import namedtuple
 except ImportError:  # work around Python < 2.6
index ef02ffe0e1c02428d227072facce728da86cd3ba..8208c7911b1981f058c032ce88e45993ad41c941 100644 (file)
@@ -17,8 +17,6 @@
 # write to Trevor King, Drudge's University, Physics Dept., 3141 Chestnut St.,
 # Philadelphia PA 19104, USA.
 
-from __future__ import with_statement
-
 import numpy
 
 from . import __version__, log