jdk.table is not used anymore

This commit is contained in:
Krzysztof Szumny 2015-08-19 16:16:15 +02:00
parent 713f8bacf6
commit 96d41762a5

View File

@ -44,17 +44,3 @@ if not pycharm:
shutil.rmtree(os.path.join(project_directory, path))
# ------------------------------------------------------------------------------
import fileinput
jdk_table_xml = os.path.join(project_directory, 'compose/pycharm/jdk.table.xml')
jdk_table_dst_dir = os.path.join(os.path.expanduser('~'), '.PyCharm40/config/options/')
for line in fileinput.input(jdk_table_xml, inplace=True):
print line.replace('$PROJECT_DIR$', project_directory),
if not os.path.exists(jdk_table_dst_dir):
os.makedirs(jdk_table_dst_dir)
shutil.copy2(jdk_table_xml, jdk_table_dst_dir)