mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-04 22:09:24 +00:00
break long lines (pep8)
This commit is contained in:
1 parent
ad0f0a0b5d
commit
4c38b28469
2 files changed
+6
-3
No files matched your search
@@ -132,7 +132,8 @@ class MatchingModel(models.Model):
|
||||
'''
|
||||
findterms = re.compile(r'"([^"]+)"|(\S+)').findall
|
||||
normspace = re.compile(r'\s+').sub
|
||||
return [normspace(r'\s+', (t[0] or t[1]).strip()) for t in findterms(self.match)]
|
||||
return [normspace(r'\s+', (t[0] or t[1]).strip())
|
||||
for t in findterms(self.match)]
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
|
||||
|
||||
Reference in new issue
Block a user