Skip to content

Commit adcae2d

Browse files
committed
fix for GAE import
1 parent 2d87e8b commit adcae2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qiniu/rpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import httplib
44

5-
if getattr(httplib, "_IMPLEMENTATION") != "gae": # httplib._IMPLEMENTATION is "gae" on GAE
5+
if getattr(httplib, "_IMPLEMENTATION", None) != "gae": # httplib._IMPLEMENTATION is "gae" on GAE
66
import httplib_chunk as httplib
77

88
import json

0 commit comments

Comments
 (0)