Skip to content

Commit 2728d39

Browse files
committed
Merge pull request #114 from deepgully/gae
Support Google AppEngine, fix import error
2 parents 8870f96 + adcae2d commit 2728d39

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

qiniu/rpc.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# -*- coding: utf-8 -*-
2-
import httplib_chunk as httplib
2+
3+
import httplib
4+
5+
if getattr(httplib, "_IMPLEMENTATION", None) != "gae": # httplib._IMPLEMENTATION is "gae" on GAE
6+
import httplib_chunk as httplib
7+
38
import json
49
import cStringIO
510
import conf

0 commit comments

Comments
 (0)