Don't break all over the place when there are not pyquirks

This commit is contained in:
Kiooeht 2011-11-28 22:18:23 -08:00
parent 3de6d8b397
commit 092554e3d7

View file

@ -66,7 +66,7 @@ class PythonQuirks(object):
def funcre(self):
if not self.quirks:
return r""
return r"\\[0-9]+"
f = r"("
for q in self.quirks:
f = f + q[:-1]+r"\(|"