summaryrefslogtreecommitdiffstats
path: root/Modules/_sha3/cleanup.py
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2012-10-07 20:44:41 (GMT)
committerChristian Heimes <christian@cheimes.de>2012-10-07 20:44:41 (GMT)
commitdbc573ff29b6345027dc0e66f545d3780ef2d165 (patch)
treef7208b0841478f2e740af72d1069b1c0ba58002b /Modules/_sha3/cleanup.py
parent58f11831feddd2d0617b2300028f3fcb2c8e9762 (diff)
downloadcpython-dbc573ff29b6345027dc0e66f545d3780ef2d165.zip
cpython-dbc573ff29b6345027dc0e66f545d3780ef2d165.tar.gz
cpython-dbc573ff29b6345027dc0e66f545d3780ef2d165.tar.bz2
re-add brg_endian.h to debug issue in big endian SPARC machine
Diffstat (limited to 'Modules/_sha3/cleanup.py')
-rwxr-xr-xModules/_sha3/cleanup.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/_sha3/cleanup.py b/Modules/_sha3/cleanup.py
index aabcb04..5238ab3 100755
--- a/Modules/_sha3/cleanup.py
+++ b/Modules/_sha3/cleanup.py
@@ -32,10 +32,10 @@ def cleanup(f):
if line.startswith("typedef unsigned long long int"):
buf.append("/* %s */\n" % line.strip())
continue
- # remove #include "brg_endian.h"
- if "brg_endian.h" in line:
- buf.append("/* %s */\n" % line.strip())
- continue
+ ## remove #include "brg_endian.h"
+ #if "brg_endian.h" in line:
+ # buf.append("/* %s */\n" % line.strip())
+ # continue
# transform C++ comments into ANSI C comments
line = CPP1.sub(r"/* \1 */", line)
line = CPP2.sub(r" /* \1 */", line)