# Copyright (C) 2010 The Regents of the University of California
# Written by Michael Vrable <mvrable@cs.ucsd.edu>
-import base64, os, re, struct, sys
+import base64, os, re, struct, sys, time
import boto
from boto.s3.key import Key
except:
print >>sys.stderr, "S3 operation failed, retrying..."
self.connect()
+ time.sleep(1.0)
return method(self, *args, **kwargs)
return wrapped