[hdf-compass] 151/295: py3k: Add __future__ import on remaining files.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun May 8 10:35:38 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/master
in repository hdf-compass.

commit eb3dd36b4f6f2d11f8d2123ce8ac4b3cb8af21cc
Author: Elliott Sales de Andrade <quantum.analyst at gmail.com>
Date:   Tue Jul 21 02:53:29 2015 -0400

    py3k: Add __future__ import on remaining files.
---
 data/hdf5/Download/download_data.py  | 7 ++++---
 docs/conf.py                         | 2 ++
 hdf_compass/__init__.py              | 1 +
 hdf_compass/compass_model/test.py    | 2 ++
 hdf_compass/filesystem_model/test.py | 2 ++
 hdf_compass/hdf5_model/test.py       | 2 ++
 setup.py2app.py                      | 2 ++
 7 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/data/hdf5/Download/download_data.py b/data/hdf5/Download/download_data.py
index e2ea07f..7e7da41 100644
--- a/data/hdf5/Download/download_data.py
+++ b/data/hdf5/Download/download_data.py
@@ -1,8 +1,11 @@
-import wget
 """
 Download additional data files from AWS
 """
 
+from __future__ import absolute_import, division, print_function
+
+import wget
+
 files = [
    'ami_hdf.h5',
    'attrfile.h5',
@@ -27,5 +30,3 @@ for filename in files:
     print("downloading: " + uri)
     wget.download(uri, bar=wget.bar_thermometer)
 print("done!")
-    
-    
diff --git a/docs/conf.py b/docs/conf.py
index 6bdb413..d5f0ad1 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -9,6 +9,8 @@
 # All configuration values have a default; values that are commented out
 # serve to show the default.
 
+from __future__ import absolute_import, division, print_function
+
 import sys, os
 
 # If extensions (or modules to document with autodoc) are in another directory,
diff --git a/hdf_compass/__init__.py b/hdf_compass/__init__.py
index 6b325b2..eaca2c6 100644
--- a/hdf_compass/__init__.py
+++ b/hdf_compass/__init__.py
@@ -1,6 +1,7 @@
 """
 HDFCompass Namespace
 """
+from __future__ import absolute_import, division, print_function
 try:
     import pkg_resources
     pkg_resources.declare_namespace(__name__)
diff --git a/hdf_compass/compass_model/test.py b/hdf_compass/compass_model/test.py
index b8e187c..7b0f5a3 100644
--- a/hdf_compass/compass_model/test.py
+++ b/hdf_compass/compass_model/test.py
@@ -41,6 +41,8 @@ To run unittest, which discovers classes "store_tests" and "container_tests":
 
 """
 
+from __future__ import absolute_import, division, print_function
+
 import unittest as ut
 
 from . import Node, Store
diff --git a/hdf_compass/filesystem_model/test.py b/hdf_compass/filesystem_model/test.py
index abf582c..f288de9 100644
--- a/hdf_compass/filesystem_model/test.py
+++ b/hdf_compass/filesystem_model/test.py
@@ -1,3 +1,5 @@
+from __future__ import absolute_import, division, print_function
+
 from hdf_compass.compass_model.test import container, store
 from hdf_compass.filesystem_model import Filesystem, Directory
 
diff --git a/hdf_compass/hdf5_model/test.py b/hdf_compass/hdf5_model/test.py
index a2e25b5..4b7f491 100644
--- a/hdf_compass/hdf5_model/test.py
+++ b/hdf_compass/hdf5_model/test.py
@@ -1,3 +1,5 @@
+from __future__ import absolute_import, division, print_function
+
 from hdf_compass.compass_model.test import container, store
 from hdf_compass.hdf5_model import HDF5Group, HDF5Store
 from hdf_compass.utils import is_win
diff --git a/setup.py2app.py b/setup.py2app.py
index bb918ef..c2a36f2 100644
--- a/setup.py2app.py
+++ b/setup.py2app.py
@@ -27,6 +27,8 @@ To create dmg install file.  The appdmg utility can be installed from npm:
 PyInstaller, for Windows and Linux distribution, does not use setup.py2app.py.
 """
 
+from __future__ import absolute_import, division, print_function
+
 from setuptools import setup
 from glob import glob
 import os

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/hdf-compass.git



More information about the debian-science-commits mailing list