Skip to content

Fix SyntaxError: invalid syntax#21

Merged
myrrc merged 1 commit intomainfrom
dstaroff/fix-py36
Jul 14, 2023
Merged

Fix SyntaxError: invalid syntax#21
myrrc merged 1 commit intomainfrom
dstaroff/fix-py36

Conversation

@dstaroff
Copy link
Contributor

Fixes:

Traceback (most recent call last):
  File "/usr/bin/ch-monitoring", line 5, in <module>
    from chtools.monrun_checks.main import main
  File "/opt/yandex/ch-tools/lib/python3.6/site-packages/chtools/monrun_checks/main.py", line 30, in <module>
    from chtools.monrun_checks.ch_tls import tls_command  # noqa: E402
  File "/opt/yandex/ch-tools/lib/python3.6/site-packages/chtools/monrun_checks/ch_tls.py", line 39
    addr: Tuple[str, int] = socket.getfqdn(), int(port)
                                            ^
SyntaxError: invalid syntax

@dstaroff dstaroff requested review from Alex-Burmak and myrrc July 14, 2023 21:18
@myrrc myrrc self-assigned this Jul 14, 2023
@myrrc myrrc merged commit e26d1af into main Jul 14, 2023
@Alex-Burmak Alex-Burmak deleted the dstaroff/fix-py36 branch July 17, 2023 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants