mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
fix openpype imports
This commit is contained in:
parent
ee6e42ec6c
commit
0508cd986a
133 changed files with 170 additions and 170 deletions
|
|
@ -295,7 +295,7 @@ class ActionItem:
|
|||
# prepared for it.
|
||||
raise NotImplementedError(
|
||||
"{}.to_data is not implemented. Use Attribute definitions"
|
||||
" from 'openpype.lib' instead of 'qargparse'.".format(
|
||||
" from 'ayon_core.lib' instead of 'qargparse'.".format(
|
||||
self.__class__.__name__
|
||||
)
|
||||
)
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ class LoaderActionsModel:
|
|||
"""Model for loader actions.
|
||||
|
||||
This is probably only part of models that requires to use codebase from
|
||||
'openpype.client' because of backwards compatibility with loaders logic
|
||||
'ayon_core.client' because of backwards compatibility with loaders logic
|
||||
which are expecting mongo documents.
|
||||
|
||||
TODOs:
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ from ayon_core.lib import (
|
|||
from ayon_core.pipeline import LauncherAction
|
||||
|
||||
|
||||
# TODO move to 'openpype.pipeline.actions'
|
||||
# TODO move to 'ayon_core.pipeline.actions'
|
||||
# - remove Qt related stuff and implement exceptions to show error in launcher
|
||||
class ApplicationAction(LauncherAction):
|
||||
"""Pype's application launcher
|
||||
|
|
|
|||
|
|
@ -524,7 +524,7 @@ class PypeInfoSubWidget(QtWidgets.QWidget):
|
|||
info_layout.addWidget(
|
||||
QtWidgets.QLabel("OpenPype Addon:"), row, 0, 1, 1
|
||||
)
|
||||
value_label = QtWidgets.QLabel(openpype.version.__version__)
|
||||
value_label = QtWidgets.QLabel(ayon_core.version.__version__)
|
||||
value_label.setTextInteractionFlags(
|
||||
QtCore.Qt.TextSelectableByMouse
|
||||
)
|
||||
|
|
|
|||
|
|
@ -602,7 +602,7 @@ class TrayManager:
|
|||
if AYON_SERVER_ENABLED:
|
||||
version_string = os.getenv("AYON_VERSION", "AYON Info")
|
||||
else:
|
||||
version_string = openpype.version.__version__
|
||||
version_string = ayon_core.version.__version__
|
||||
if subversion:
|
||||
version_string += " ({})".format(subversion)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue