mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-28 19:40:54 +00:00
Pylint cleanups
This commit is contained in:
parent
8d8396b07b
commit
a2128a4787
2 changed files with 5 additions and 1 deletions
|
@ -35,6 +35,9 @@ from wsgiref.simple_server import make_server
|
|||
import radicale
|
||||
|
||||
|
||||
# This is a script, many branches and variables
|
||||
# pylint: disable=R0912,R0914
|
||||
|
||||
def run():
|
||||
"""Run Radicale as a standalone server."""
|
||||
# Get command-line options
|
||||
|
@ -168,6 +171,8 @@ def run():
|
|||
server.server_name, server.server_port))
|
||||
server.shutdown()
|
||||
|
||||
# pylint: enable=R0912,R0914
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
run()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue