Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Refactor: move webserver tool to openpype #2876

Merged
merged 3 commits into from
Mar 11, 2022

Conversation

kalisp
Copy link
Member

@kalisp kalisp commented Mar 11, 2022

Brief description

Part of incorporating of avalon-core repo into openpype.

Description

Webserver moved to adobe_webserver as both AE and PS should use same logic.

Testing notes:

  1. Requires Refactor: move webserver tool to openpype avalon-core#428
  2. Start AE
  3. Menu should work (open Workfiles tool or any other)

@kalisp kalisp added host: After Effects type: refactor Structural changes not affecting functionality labels Mar 11, 2022
@kalisp kalisp requested a review from 64qam March 11, 2022 13:46
@kalisp kalisp self-assigned this Mar 11, 2022
@ynbot
Copy link
Contributor

ynbot commented Mar 11, 2022

Task linked: OP-2815 Move webserver tool to openpype

try:
sock.bind((host_name, port))
result = False
except:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not use bare except:, it also catches unexpected events like memory errors, interrupts, system exit, and so on. Prefer except Exception:. If you're sure what you're doing, be explicit and write except BaseException:.
do not use bare 'except'

"""
Check if 'url' is already occupied.

This could mean, that app is already running and we are trying open it
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (82 > 79 characters)

@kalisp kalisp merged commit 8818816 into develop Mar 11, 2022
@mkolar mkolar added this to the 3.9.0 milestone Mar 15, 2022
@mkolar mkolar deleted the chore/OP-2815_Move-webserver-tool-to-openpype branch March 15, 2022 16:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
host: After Effects type: refactor Structural changes not affecting functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants