From bfb9b82aa6666bb0c6e1f9134de469aeca22f8d6 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 23 Oct 2010 09:31:47 -0400 Subject: [PATCH] Move `import with_statement` from sawsim_histogram to sawsim. --- pysawsim/sawsim.py | 2 ++ pysawsim/sawsim_histogram.py | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pysawsim/sawsim.py b/pysawsim/sawsim.py index 858db1c..67cfe29 100644 --- a/pysawsim/sawsim.py +++ b/pysawsim/sawsim.py @@ -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 diff --git a/pysawsim/sawsim_histogram.py b/pysawsim/sawsim_histogram.py index ef02ffe..8208c79 100644 --- a/pysawsim/sawsim_histogram.py +++ b/pysawsim/sawsim_histogram.py @@ -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 -- 2.26.2