Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am trampfox on github.
  • I am trampfox (https://keybase.io/trampfox) on keybase.
  • I have a public key ASB7bSJ1SaOg2AkDAZrsVWXCR3e_jiplKF8LNvZE40S39Qo

To claim this, I am signing this object:

self.ec2conn = boto.connect_ec2(self.conf.vws_repository_s3id, self.conf.vws_repository_s3key,
region=self.region, port=self.conf.port)
cf = OrdinaryCallingFormat()
self.s3conn = S3Connection(self.conf.vws_repository_s3id, self.conf.vws_repository_s3key,
host=self.conf.vws_repository_host, port=int(self.conf.vws_repository_port),
is_secure=False, calling_format=cf)
# get all buckets that user owns
try:
s3conn = S3Connection(access_id, access_secret, host=host, port=cumulusport, is_secure=False, calling_format=cf)
# upload the file according to the Nimbus naming convention
bucket = s3conn.get_bucket("Repo")