mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed indentation in load_entry_point
This commit is contained in:
@@ -5,8 +5,8 @@ if __name__ == '__main__':
|
||||
dist = os.environ.get("PYCHARM_EP_DIST")
|
||||
name = os.environ.get("PYCHARM_EP_NAME")
|
||||
if dist == "ipython" and name == "ipython":
|
||||
from IPython import start_ipython
|
||||
f = start_ipython
|
||||
else:
|
||||
f = load_entry_point(dist, "console_scripts", name)
|
||||
from IPython import start_ipython
|
||||
f = start_ipython
|
||||
else:
|
||||
f = load_entry_point(dist, "console_scripts", name)
|
||||
sys.exit(f())
|
||||
|
||||
Reference in New Issue
Block a user