mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-05-06 14:55:05 -04:00
pep8
This commit is contained in:
parent
7564dac8cb
commit
6d33f97703
1 changed files with 3 additions and 2 deletions
|
@ -61,7 +61,8 @@ class MissingRequirementError(Exception):
|
|||
def check_requirements(config=None):
|
||||
"""Checks that all the modules needed by synapse have been correctly
|
||||
installed and are at the correct version"""
|
||||
for dependency, module_requirements in requirements(config, include_conditional=False).items():
|
||||
for dependency, module_requirements in (
|
||||
requirements(config, include_conditional=False).items()):
|
||||
for module_requirement in module_requirements:
|
||||
if ">=" in module_requirement:
|
||||
module_name, required_version = module_requirement.split(">=")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue