Commits

Cameron Simpson committed d252e96

cs.app.aws: define EC2._lock

  • Participants
  • Parent commits 49a3cf5

Comments (0)

Files changed (1)

File lib/python/cs/app/aws.py

 #       - Cameron Simpson <cs@zip.com.au> 17nov2012
 #
 
+from threading import Lock
 from boto.ec2.connection import EC2Connection
 from cs.threads import locked_property
 from cs.misc import O
     '''
     self.access_key_id = access_key_id
     self.access_key_secret = access_key_secret
+    self._lock = Lock()
 
   def _EC2Connection(self):
     return EC2Connection(self.access_key_id, self.access_key_secret)