From 96d41762a5dfeeba75f5e1004859dc6e6ffcfd4c Mon Sep 17 00:00:00 2001 From: Krzysztof Szumny Date: Wed, 19 Aug 2015 16:16:15 +0200 Subject: [PATCH] jdk.table is not used anymore --- hooks/post_gen_project.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/hooks/post_gen_project.py b/hooks/post_gen_project.py index 2f567092a..f19f2d1d3 100644 --- a/hooks/post_gen_project.py +++ b/hooks/post_gen_project.py @@ -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)