[platform] missing import in Python launcher (IDEA-224186)

GitOrigin-RevId: 16c5863d9269ffa71752a3cc5e10f1a1923c9d30
This commit is contained in:
Roman Shevchenko
2019-10-07 13:34:57 +00:00
committed by intellij-monorepo-bot
parent 701a938ebb
commit 2c0287797d
2 changed files with 9 additions and 0 deletions
@@ -1,5 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<module relativePaths="true" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="Python" name="Python">
<configuration sdkName="Python 3.7" />
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
@@ -10,5 +15,6 @@
<orderEntry type="module" module-name="intellij.platform.util" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.platform.lvcs.impl" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.json" scope="RUNTIME" />
<orderEntry type="library" name="Python 3.7 interpreter library" level="application" />
</component>
</module>
@@ -1,10 +1,13 @@
#!/usr/bin/env $PYTHON$
# -*- coding: utf-8 -*-
# Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
import os
import socket
import struct
import sys
import traceback
# see com.intellij.idea.SocketLock for the server side of this interface