making py33 compatible

This commit is contained in:
amitgandhinz 2014-07-25 15:43:53 -04:00
parent 28c522b289
commit 4ad9091b30
2 changed files with 4 additions and 2 deletions

View File

@ -13,6 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
import sys
import traceback
@ -24,7 +26,7 @@ class Responder(object):
def failed(self, msg):
ex_type, ex, tb = sys.exc_info()
print "error: ", self.provider, msg, ex_type, ex
print("error: {0} {1} {2} {3}".format(self.provider, msg, ex_type, ex))
traceback.print_tb(tb)
return {

View File

@ -1,2 +1,2 @@
-e git+https://github.com/zebrafishlabs/fastly-python@b98a756b2a03687d76c3cfa0e024a445af85b38d#egg=fastly-python
cdn-fastly
httplib2>=0.8