Skip to content

Commit

Permalink
Merge pull request #1244 from nabobalis/master
Browse files Browse the repository at this point in the history
 Sprint: Deprecate python 2.6
  • Loading branch information
Cadair committed Jan 22, 2015
2 parents f398c41 + b0c7997 commit 7655136
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 223 deletions.
5 changes: 0 additions & 5 deletions doc/source/code_ref/util.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ SunPy util

.. automodapi:: sunpy.util.config

.. automodapi:: sunpy.util.counter

.. automodapi:: sunpy.util.create

.. automodapi:: sunpy.util.datatype_factory_base
Expand All @@ -17,9 +15,6 @@ SunPy util

.. automodapi:: sunpy.util.net

.. automodapi:: sunpy.util.odict

.. automodapi:: sunpy.util.progressbar

.. automodapi:: sunpy.util.xml

5 changes: 1 addition & 4 deletions sunpy/database/caching.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
from __future__ import absolute_import

from abc import ABCMeta, abstractmethod, abstractproperty
from collections import MutableMapping

from sunpy.util.odict import OrderedDict
from sunpy.util.counter import Counter
from collections import MutableMapping, OrderedDict, Counter

__all__ = ['BaseCache', 'LRUCache', 'LFUCache']

Expand Down
2 changes: 1 addition & 1 deletion sunpy/io/header.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from sunpy.util.odict import OrderedDict
from collections import OrderedDict

__all__ = ['FileHeader']

Expand Down
2 changes: 1 addition & 1 deletion sunpy/lightcurve/lightcurve.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import urllib2
import warnings
from datetime import datetime
from collections import OrderedDict

import numpy as np
import matplotlib.pyplot as plt
Expand All @@ -21,7 +22,6 @@
from sunpy import config
from sunpy.time import is_time, TimeRange, parse_time
from sunpy.util.cond_dispatch import ConditionalDispatch, run_cls
from sunpy.util.odict import OrderedDict

__all__ = ['LightCurve']

Expand Down
2 changes: 1 addition & 1 deletion sunpy/lightcurve/sources/eve.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
import os
import numpy
from datetime import datetime
from collections import OrderedDict

import matplotlib.pyplot as plt
from pandas.io.parsers import read_csv
from os.path import basename

from sunpy.lightcurve import LightCurve
from sunpy.util.odict import OrderedDict

__all__ = ['EVELightCurve']

Expand Down
2 changes: 1 addition & 1 deletion sunpy/lightcurve/sources/lyra.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
import datetime
import urlparse
import sys
from collections import OrderedDict

from matplotlib import pyplot as plt
from astropy.io import fits
import pandas

from sunpy.lightcurve import LightCurve
from sunpy.time import parse_time
from sunpy.util.odict import OrderedDict

from sunpy import config
TIME_FORMAT = config.get("general", "time_format")
Expand Down
3 changes: 2 additions & 1 deletion sunpy/lightcurve/sources/norh.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

import datetime
import urlparse
from collections import OrderedDict

import numpy as np
import matplotlib.pyplot as plt

Expand All @@ -12,7 +14,6 @@

from sunpy.lightcurve import LightCurve
from sunpy.time import parse_time
from sunpy.util.odict import OrderedDict

from sunpy import config
TIME_FORMAT = config.get("general", "time_format")
Expand Down
2 changes: 1 addition & 1 deletion sunpy/map/header.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"""
from __future__ import absolute_import

from sunpy.util.odict import OrderedDict
from collections import OrderedDict

__all__ = ['MapMeta']

Expand Down
2 changes: 1 addition & 1 deletion sunpy/util/compat/_funcsigs.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import re
import types

from astropy.utils.compat.odict import OrderedDict
from collections import OrderedDict

__all__ = ['BoundArguments', 'Parameter', 'Signature', 'signature']

Expand Down
202 changes: 0 additions & 202 deletions sunpy/util/counter.py

This file was deleted.

5 changes: 0 additions & 5 deletions sunpy/util/odict.py

This file was deleted.

0 comments on commit 7655136

Please sign in to comment.