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
37b524f9
Commit
37b524f9
authored
5 years ago
by
Erik Johnston
Browse files
Options
Downloads
Patches
Plain Diff
Fix up comments
parent
823e13dd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
synapse/app/admin_cmd.py
+2
-2
2 additions, 2 deletions
synapse/app/admin_cmd.py
synapse/config/_base.py
+1
-1
1 addition, 1 deletion
synapse/config/_base.py
with
3 additions
and
3 deletions
synapse/app/admin_cmd.py
+
2
−
2
View file @
37b524f9
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 201
6 OpenMarket Ltd
# Copyright 201
9 Matrix.org Foundation C.I.C.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
...
...
@@ -109,7 +109,7 @@ def start(config_options):
subparser
=
parser
.
add_subparsers
(
title
=
"
Admin Commands
"
,
description
=
"
Choose an
d
admin command to perform.
"
,
description
=
"
Choose an admin command to perform.
"
,
required
=
True
,
dest
=
"
command
"
,
metavar
=
"
<admin_command>
"
,
...
...
This diff is collapsed.
Click to expand it.
synapse/config/_base.py
+
1
−
1
View file @
37b524f9
...
...
@@ -284,7 +284,7 @@ class Config(object):
Used for workers where we want to add extra flags/subcommands.
Args:
con
i
fg_parser (ArgumentParser)
conf
i
g_parser (ArgumentParser)
argv (list[str])
Returns:
...
...
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