summaryrefslogtreecommitdiffstats
path: root/encap
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2007-06-22 14:25:33 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2007-06-22 14:25:33 +0000
commit7e9b83c73cd2b4781c18249ca0f2a0b9e85008c8 (patch)
treeb2036d7005b9e49ed897c0dbf7726b696397584a /encap
parentddd1f0ec702e6309609069a658c3a73b1c98bc15 (diff)
downloadbcfg2-7e9b83c73cd2b4781c18249ca0f2a0b9e85008c8.tar.gz
bcfg2-7e9b83c73cd2b4781c18249ca0f2a0b9e85008c8.tar.bz2
bcfg2-7e9b83c73cd2b4781c18249ca0f2a0b9e85008c8.zip
EncapPackages: For some reason I haven't figured out yet, byte-compiling
all of the python modules in the manner that is commented out was causing one of the *.py files to be replaced with the contents of it's *.pyc file, which caused a lot of things to mysteriously fail. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3334 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'encap')
-rw-r--r--encap/src/encap-profiles/bcfg2-0.9.4.ep7
1 files changed, 5 insertions, 2 deletions
diff --git a/encap/src/encap-profiles/bcfg2-0.9.4.ep b/encap/src/encap-profiles/bcfg2-0.9.4.ep
index df1c003d6..ad480bc49 100644
--- a/encap/src/encap-profiles/bcfg2-0.9.4.ep
+++ b/encap/src/encap-profiles/bcfg2-0.9.4.ep
@@ -370,8 +370,11 @@ printf "\nReplacing \"#!/usr/bin/python\" with "
printf "\"#!/usr/local/lib/bcfg2/bin/python\"...\n"
${REGEXPLACE} ${BASEDIR} .\* \#\!\/usr\/bin\/python \#\!\/usr\/local\/lib\/bcfg2\/bin\/python
-printf "\nCreating bcfg2 .pyc files...\n"
-${PYTHON} ${COMPILEALL} ${BASEDIR}
+# For some reason this causes TLSSocketServerMixIn.py to be replaced with the contents of
+# TLSSocketServerMixIn.pyc , which breaks things. Should figure out why and fix this for
+# improved performance as soon as possible (TODO/FIXME).
+#printf "\nCreating bcfg2 .pyc files...\n"
+#${PYTHON} ${COMPILEALL} ${BASEDIR}
exit 0
]]></include_file>