mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
PEP8
This commit is contained in:
parent
9c5fc81c2d
commit
942e39e87c
@ -63,7 +63,6 @@ import synapse
|
|||||||
|
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
import re
|
|
||||||
import resource
|
import resource
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
@ -532,8 +531,9 @@ def create_resource_tree(desired_tree, redirect_root_to_web_client=True):
|
|||||||
# to be replaced with the desired resource.
|
# to be replaced with the desired resource.
|
||||||
existing_dummy_resource = resource_mappings[res_id]
|
existing_dummy_resource = resource_mappings[res_id]
|
||||||
for child_name in existing_dummy_resource.listNames():
|
for child_name in existing_dummy_resource.listNames():
|
||||||
child_res_id = _resource_id(existing_dummy_resource,
|
child_res_id = _resource_id(
|
||||||
child_name)
|
existing_dummy_resource, child_name
|
||||||
|
)
|
||||||
child_resource = resource_mappings[child_res_id]
|
child_resource = resource_mappings[child_res_id]
|
||||||
# steal the children
|
# steal the children
|
||||||
res.putChild(child_name, child_resource)
|
res.putChild(child_name, child_resource)
|
||||||
|
Loading…
Reference in New Issue
Block a user