Skip to content

Commit 9f67bda

Browse files
committed
Remove unused load_pickle function from bin/check_db
1 parent 476e92d commit 9f67bda

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

bin/check_db

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,6 @@ def parse_args():
6363
return parser.parse_args()
6464

6565

66-
def load_pickle(fp):
67-
"""Load a pickle file with Python 2/3 compatibility."""
68-
try:
69-
return pickle.load(fp, fix_imports=True, encoding='latin1')
70-
except Exception as e:
71-
print('Error loading pickle file:', e)
72-
return None
73-
74-
7566
def testfile(dbfile, listname=None, verbose=0):
7667
"""Test the integrity of a list's config database file."""
7768
try:

0 commit comments

Comments
 (0)