Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
otvam committed Nov 9, 2023
1 parent fa0fb7b commit 13f82f6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pypeec/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,6 @@ def load_pickle(filename):
Python data contained in the file content
"""

# check extension
(name, ext) = os.path.splitext(filename)

# load the Pickle file
try:
with open(filename, "rb") as fid:
Expand All @@ -201,9 +198,6 @@ def write_pickle(filename, data):
Python data to be saved.
"""

# check extension
(name, ext) = os.path.splitext(filename)

# save the Pickle file
try:
with open(filename, "wb") as fid:
Expand Down

0 comments on commit 13f82f6

Please sign in to comment.