Skip to content

Commit

Permalink
Merge pull request #1448 from bsipocz/io_move_absolute_import_to_setu…
Browse files Browse the repository at this point in the history
…p_package

Move import absolute_import to setup_package in the io module
  • Loading branch information
Cadair committed Jun 16, 2015
2 parents 88c186b + 2f6cbc2 commit e0aaa3e
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion sunpy/io/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
"""File input and output functions"""
from __future__ import absolute_import

from sunpy.io.file_tools import *
1 change: 0 additions & 1 deletion sunpy/io/ana.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
Copyright (c) 2009--2011 Tim van Werkhoven.
"""

from __future__ import absolute_import
import os

try:
Expand Down
2 changes: 0 additions & 2 deletions sunpy/io/file_tools.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import absolute_import

import re
import os

Expand Down
2 changes: 0 additions & 2 deletions sunpy/io/fits.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
| http://stsdas.stsci.edu/download/wikidocs/The_PyFITS_Handbook.pdf
"""
from __future__ import absolute_import

import os
import re
import itertools
Expand Down
1 change: 0 additions & 1 deletion sunpy/io/header.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from collections import OrderedDict

__all__ = ['FileHeader']
Expand Down
1 change: 0 additions & 1 deletion sunpy/io/jp2.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""JPEG 2000 File Reader"""
from __future__ import absolute_import

__author__ = "Keith Hughitt"
__email__ = "keith.hughitt@nasa.gov"
Expand Down
2 changes: 2 additions & 0 deletions sunpy/io/setup_package.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import absolute_import

import os
import platform

Expand Down

0 comments on commit e0aaa3e

Please sign in to comment.