@@ -113,10 +113,10 @@ def die(m, extra_arg_raw):
113113 if 'match' not in extra_arg :
114114 die ('No match key' , extra_arg_raw )
115115 elif (not isinstance (extra_arg ['match' ], list ) or
116- len (extra_arg ['match' ]) != 2 ):
116+ len (extra_arg ['match' ]) != 2 ):
117117 die ('match key is not a list of two strings' , extra_arg_raw )
118118 elif (not isinstance (extra_arg ['match' ][0 ], six .text_type ) or
119- not isinstance (extra_arg ['match' ][1 ], six .text_type )):
119+ not isinstance (extra_arg ['match' ][1 ], six .text_type )):
120120 print (type (extra_arg ['match' ][0 ]))
121121 die ('match values are not strings' , extra_arg_raw )
122122 elif 'arg_name' not in extra_arg :
@@ -128,7 +128,7 @@ def die(m, extra_arg_raw):
128128 elif not isinstance (extra_arg ['arg_type' ], six .text_type ):
129129 die ('arg_type is not a string' , extra_arg_raw )
130130 elif ('arg_docstring' in extra_arg and
131- not isinstance (extra_arg ['arg_docstring' ], six .text_type )):
131+ not isinstance (extra_arg ['arg_docstring' ], six .text_type )):
132132 die ('arg_docstring is not a string' , extra_arg_raw )
133133
134134 attr_key , attr_val = extra_arg ['match' ][0 ], extra_arg ['match' ][1 ]
0 commit comments