Skip to content

Commit e795ac9

Browse files
committed
fix: make regex command python3 compatible
1 parent b4273f2 commit e795ac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

schema_salad/ref_resolver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ def _resolve_idmap(self,
581581

582582
document[idmapField] = ls
583583

584-
typeDSLregex = re.compile(ur"^([^[?]+)(\[\])?(\?)?$")
584+
typeDSLregex = re.compile(u"^([^[?]+)(\[\])?(\?)?$")
585585

586586
def _type_dsl(self,
587587
t, # type: Union[Text, Dict, List]

0 commit comments

Comments
 (0)