Manual 2to3 fixups.
[cumulus.git] / python / cumulus / store / s3.py
index 7d8aaaf..ef40113 100644 (file)
@@ -18,6 +18,8 @@
 
 """Amazon S3 storage backend.  Uses a URL of the form s3://BUCKET/PATH/."""
 
+from __future__ import division, print_function, unicode_literals
+
 import os, sys, tempfile
 import boto
 from boto.exception import S3ResponseError
@@ -33,7 +35,7 @@ def throw_notfound(method):
             return method(*args, **kwargs)
         except S3ResponseError as e:
             if e.status == 404:
-                print "Got a 404:", e
+                print("Got a 404:", e)
                 raise cumulus.store.NotFoundError(e)
             else:
                 raise