mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
pep8: Add compliance with rule E261 to test_user_agent_parsing.py.
This commit is contained in:
committed by
Tim Abbott
parent
83db0a98ae
commit
88811e0d34
@@ -10,7 +10,7 @@ sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..'))
|
||||
|
||||
from zerver.lib.user_agent import parse_user_agent
|
||||
|
||||
user_agents_parsed = defaultdict(int) # type: Dict[str, int]
|
||||
user_agents_parsed = defaultdict(int) # type: Dict[str, int]
|
||||
user_agents_path = os.path.join(os.path.dirname(__file__), "user_agents_unique")
|
||||
parse_errors = 0
|
||||
for line in open(user_agents_path).readlines():
|
||||
|
||||
Reference in New Issue
Block a user