making py33 compatible
This commit is contained in:
parent
28c522b289
commit
4ad9091b30
@ -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 {
|
||||
|
@ -1,2 +1,2 @@
|
||||
-e git+https://github.com/zebrafishlabs/fastly-python@b98a756b2a03687d76c3cfa0e024a445af85b38d#egg=fastly-python
|
||||
cdn-fastly
|
||||
httplib2>=0.8
|
Loading…
x
Reference in New Issue
Block a user