File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -77,9 +77,9 @@ def pnetcdf_io(filename):
7777 old_fillmode = f .set_fill (pnetcdf .NC_FILL )
7878 if verbose :
7979 if old_fillmode == pnetcdf .NC_FILL :
80- print ("The old fill mode is NC_FILL\n " )
80+ print ("The old fill mode is NC_FILL" )
8181 else :
82- print ("The old fill mode is NC_NOFILL\n " )
82+ print ("The old fill mode is NC_NOFILL" )
8383
8484 # set the fill mode back to NC_NOFILL for the entire file
8585 f .set_fill (pnetcdf .NC_NOFILL )
Original file line number Diff line number Diff line change @@ -1021,8 +1021,8 @@ cdef class File:
10211021
10221022 # set the fill mode to NC_FILL for the entire file
10231023 old_fillmode = f.set_fill(pnetcdf.NC_FILL)
1024- if verbose:
1025- if old_fillmode == pnetcdf.NC_FILL:
1024+
1025+ if old_fillmode == pnetcdf.NC_FILL:
10261026 print("The old fill mode is NC_FILL")
10271027 else:
10281028 print("The old fill mode is NC_NOFILL")
You can’t perform that action at this time.
0 commit comments