File tree 2 files changed +4
-4
lines changed
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):
77
77
old_fillmode = f .set_fill (pnetcdf .NC_FILL )
78
78
if verbose :
79
79
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" )
81
81
else :
82
- print ("The old fill mode is NC_NOFILL\n " )
82
+ print ("The old fill mode is NC_NOFILL" )
83
83
84
84
# set the fill mode back to NC_NOFILL for the entire file
85
85
f .set_fill (pnetcdf .NC_NOFILL )
Original file line number Diff line number Diff line change @@ -1021,8 +1021,8 @@ cdef class File:
1021
1021
1022
1022
# set the fill mode to NC_FILL for the entire file
1023
1023
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:
1026
1026
print("The old fill mode is NC_FILL")
1027
1027
else:
1028
1028
print("The old fill mode is NC_NOFILL")
You can’t perform that action at this time.
0 commit comments