aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/Twisted/py3/twisted/__main__.py
blob: 7f60ea2afb8d58c808f7dcb41dbdae1426f15fe3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Copyright (c) Twisted Matrix Laboratories.
# See LICENSE for details.

# Make the twisted module executable with the default behaviour of
# running twist.
# This is not a docstring to avoid changing the string output of twist.


import sys

if __name__ == "__main__":
    from twisted.application.twist._twist import Twist

    sys.exit(Twist.main())