Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
n-dusan committed Nov 9, 2023
1 parent a5a13a4 commit 9e510d8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions upgrade/scripts/upgrade_python_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,11 @@ def try_running_module(wheel, *args):
# don't try running the module if it does not exists
# prevents errors from being printed in case of trying
# to run e.g. oll-core or oll-partners
print("module === " + module_name)
print("args === " + str(args))
import sys
print("path === " + str(sys.path))
print("spec === " + str(util.find_spec(module_name)))
if util.find_spec(module_name) and util.find_spec(".__main__", package=module_name):
run_module_and_reload_uwsgi_app(module_name, *args)
else:
Expand Down

0 comments on commit 9e510d8

Please sign in to comment.