##// END OF EJS Templates
Fix re pattern pretty print...
Wim Jeantine-Glenn -
Show More
@@ -724,7 +724,7 class _ReFlags:
724
724
725 def _repr_pretty_(self, p, cycle):
725 def _repr_pretty_(self, p, cycle):
726 done_one = False
726 done_one = False
727 for flag in ('TEMPLATE', 'IGNORECASE', 'LOCALE', 'MULTILINE', 'DOTALL',
727 for flag in ('IGNORECASE', 'LOCALE', 'MULTILINE', 'DOTALL',
728 'UNICODE', 'VERBOSE', 'DEBUG'):
728 'UNICODE', 'VERBOSE', 'DEBUG'):
729 if self.value & getattr(re, flag):
729 if self.value & getattr(re, flag):
730 if done_one:
730 if done_one:
General Comments 0
You need to be logged in to leave comments. Login now