Skip to content

Commit

Permalink
MAINT: make OrderedDict import unconditional, fix newline at end of f…
Browse files Browse the repository at this point in the history
…ile.
  • Loading branch information
rgommers committed Jan 6, 2017
1 parent 521677a commit 120629b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions scipy/io/netcdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@
import warnings
import weakref
from operator import mul
try:
from collections import OrderedDict
except ImportError:
OrderedDict = dict
from collections import OrderedDict

import mmap as mm

Expand Down Expand Up @@ -1048,4 +1045,5 @@ def _apply_missing_value(data, missing_value):


NetCDFFile = netcdf_file
NetCDFVariable = netcdf_variable
NetCDFVariable = netcdf_variable

0 comments on commit 120629b

Please sign in to comment.