More pylint fixes
This commit is contained in:
parent
381d160105
commit
9e5c7053e9
12 changed files with 21 additions and 9 deletions
|
@ -133,7 +133,7 @@ def find_mentions(content):
|
|||
"""detect @mentions in raw status content"""
|
||||
if not content:
|
||||
return
|
||||
for match in re.finditer(rhandle_reading_status, egex.STRICT_USERNAME, content):
|
||||
for match in re.finditer(regex.STRICT_USERNAME, content):
|
||||
username = match.group().strip().split("@")[1:]
|
||||
if len(username) == 1:
|
||||
# this looks like a local user (@user), fill in the domain
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue