Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maunium
synapse
Commits
a7b726ad
Commit
a7b726ad
authored
7 years ago
by
Richard van der Hoff
Browse files
Options
Downloads
Patches
Plain Diff
federation_client: clean up imports
parent
3f9f1c50
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
synapse/federation/federation_client.py
+10
-13
10 additions, 13 deletions
synapse/federation/federation_client.py
with
10 additions
and
13 deletions
synapse/federation/federation_client.py
+
10
−
13
View file @
a7b726ad
...
@@ -14,29 +14,26 @@
...
@@ -14,29 +14,26 @@
# limitations under the License.
# limitations under the License.
import
copy
import
itertools
import
logging
import
random
from
twisted.internet
import
defer
from
twisted.internet
import
defer
from
.federation_base
import
FederationBase
from
synapse.api.constants
import
Membership
from
synapse.api.constants
import
Membership
from
synapse.api.errors
import
(
from
synapse.api.errors
import
(
CodeMessageException
,
HttpResponseException
,
SynapseError
,
CodeMessageException
,
HttpResponseException
,
SynapseError
,
)
)
from
synapse.util
import
unwrapFirstError
,
logcontext
from
synapse.util.caches.expiringcache
import
ExpiringCache
from
synapse.util.logutils
import
log_function
from
synapse.util.logcontext
import
make_deferred_yieldable
,
preserve_fn
from
synapse.events
import
FrozenEvent
,
builder
from
synapse.events
import
FrozenEvent
,
builder
from
synapse.federation.federation_base
import
FederationBase
import
synapse.metrics
import
synapse.metrics
from
synapse.util
import
logcontext
,
unwrapFirstError
from
synapse.util.caches.expiringcache
import
ExpiringCache
from
synapse.util.logcontext
import
make_deferred_yieldable
,
preserve_fn
from
synapse.util.logutils
import
log_function
from
synapse.util.retryutils
import
NotRetryingDestination
from
synapse.util.retryutils
import
NotRetryingDestination
import
copy
import
itertools
import
logging
import
random
logger
=
logging
.
getLogger
(
__name__
)
logger
=
logging
.
getLogger
(
__name__
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment