Skip to content

Commit

Permalink
STYLE: Use consistent indentation in qt/__init__.py.in
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfr committed Mar 15, 2023
1 parent ef3d86b commit 9c3a59a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Libs/Scripting/Python/Core/Python/qt/__init__.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ __kits_to_load = [ @QT_PYTHON_WRAPPED_LIBRARIES@ ]
_CTK_VERBOSE_IMPORT = False

for kit in __kits_to_load:
try:
exec("from PythonQt.Qt%s import *" % kit)
except ImportError as detail:
if _CTK_VERBOSE_IMPORT:
print(detail)
try:
exec("from PythonQt.Qt%s import *" % kit)
except ImportError as detail:
if _CTK_VERBOSE_IMPORT:
print(detail)

if "QObject" not in locals():
from PythonQt.private import QObject
Expand Down

0 comments on commit 9c3a59a

Please sign in to comment.