@property
    def url_patterns(self):
        patterns = getattr(self.urlconf_module, "middlewarepatterns", self.urlconf_module)
        try:
            iter(patterns)
        except TypeError:
            raise ImproperlyConfigured(self.urlconf_name % "The included urlconf %s doesn't have any middlewarepatterns in it")
        return patterns
dataset/ETHPy150Open d0ugal-archive/django-urlmiddleware/urlmiddleware/urlresolvers.py/MiddlewareRegexURLResolver.url_patterns/swapped operands of `%`