File tree Expand file tree Collapse file tree 4 files changed +14
-11
lines changed
data-processing/apis/grpc Expand file tree Collapse file tree 4 files changed +14
-11
lines changed Original file line number Diff line number Diff line change 302302 (_message .Message ,),
303303 {
304304 "DESCRIPTOR" : _ACCOUNT ,
305- "__module__" : "accounts_pb2"
305+ "__module__" : "accounts_pb2" ,
306306 # @@protoc_insertion_point(class_scope:Account)
307307 },
308308)
313313 (_message .Message ,),
314314 {
315315 "DESCRIPTOR" : _CREATEACCOUNTREQUEST ,
316- "__module__" : "accounts_pb2"
316+ "__module__" : "accounts_pb2" ,
317317 # @@protoc_insertion_point(class_scope:CreateAccountRequest)
318318 },
319319)
324324 (_message .Message ,),
325325 {
326326 "DESCRIPTOR" : _CREATEACCOUNTRESULT ,
327- "__module__" : "accounts_pb2"
327+ "__module__" : "accounts_pb2" ,
328328 # @@protoc_insertion_point(class_scope:CreateAccountResult)
329329 },
330330)
335335 (_message .Message ,),
336336 {
337337 "DESCRIPTOR" : _GETACCOUNTSREQUEST ,
338- "__module__" : "accounts_pb2"
338+ "__module__" : "accounts_pb2" ,
339339 # @@protoc_insertion_point(class_scope:GetAccountsRequest)
340340 },
341341)
346346 (_message .Message ,),
347347 {
348348 "DESCRIPTOR" : _GETACCOUNTSRESULT ,
349- "__module__" : "accounts_pb2"
349+ "__module__" : "accounts_pb2" ,
350350 # @@protoc_insertion_point(class_scope:GetAccountsResult)
351351 },
352352)
Original file line number Diff line number Diff line change 11"""Module containing bug report helper(s)."""
2+
23from __future__ import print_function
34
45import json
Original file line number Diff line number Diff line change @@ -164,9 +164,11 @@ def _encode_files(files, data):
164164
165165 new_fields .append (
166166 (
167- field .decode ("utf-8" )
168- if isinstance (field , bytes )
169- else field ,
167+ (
168+ field .decode ("utf-8" )
169+ if isinstance (field , bytes )
170+ else field
171+ ),
170172 v .encode ("utf-8" ) if isinstance (v , str ) else v ,
171173 )
172174 )
Original file line number Diff line number Diff line change 2323target = chardet .__name__
2424for mod in list (sys .modules ):
2525 if mod == target or mod .startswith (target + "." ):
26- sys .modules [
27- "requests.packages." + target . replace ( target , "chardet" )
28- ] = sys . modules [ mod ]
26+ sys .modules ["requests.packages." + target . replace ( target , "chardet" )] = (
27+ sys . modules [ mod ]
28+ )
2929# Kinda cool, though, right?
You can’t perform that action at this time.
0 commit comments