From 7732268adc0319b39799dc37f83e65bb994603fd Mon Sep 17 00:00:00 2001 From: Greg Darke Date: Wed, 23 Jul 2008 23:39:24 +1000 Subject: [PATCH] Removing the keywords arguments from the pickle.dump statement (as cPickle on python2.3 doesn't support keyword arguments) --- randombg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/randombg.py b/randombg.py index a6fb4f0..0b13ba3 100755 --- a/randombg.py +++ b/randombg.py @@ -49,7 +49,7 @@ class BaseFileList(object): try: logging.debug("Attempting to store cache") fd = open(filename, 'wb') - pickle.dump(obj = self, file = fd, protocol = 2) + pickle.dump(self, fd, 2) logging.debug("Cache successfully stored") except Exception, e: warning("Storing cache: %s" % e) -- 2.39.2