File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,11 +114,11 @@ def load_local_descriptors(self):
114114 def has_invalid_descriptor_values (self , payload , local_descriptors , path = "" ):
115115 for k in payload .keys ():
116116 if isinstance (payload [k ], dict ):
117- value = self .has_invalid_descriptor_values (payload [k ], path + ("." if path != "" else "" )+ k )
117+ value = self .has_invalid_descriptor_values (payload [k ], local_descriptors , path + ("." if path != "" else "" )+ k )
118118 if value != "" : return value
119119 elif isinstance (payload [k ], list ):
120120 for i in range (0 , len (payload [k ])):
121- value = self .has_invalid_descriptor_values (payload [k ][i ], path + ("." if path != "" else "" )+ k + "[" + str (i )+ "]" )
121+ value = self .has_invalid_descriptor_values (payload [k ][i ], local_descriptors , path + ("." if path != "" else "" )+ k + "[" + str (i )+ "]" )
122122 if value != "" : return value
123123 elif isinstance (payload [k ], str ) and k .endswith ("Descriptor" ):
124124 namespace = payload [k ].split ("#" )[0 ]
You can’t perform that action at this time.
0 commit comments