Skip to content
Snippets Groups Projects
Commit f0467455 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

cPickle may not always be available

parent 585080d8
No related branches found
No related tags found
No related merge requests found
import cPickle as pickle
import sys
import traceback
try:
import cPickle as pickle
except ImportError:
import pickle
import sys, traceback
class StoredVariable(object):
"""Class used to store a variable. Picklable."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment