
commit 7646feb02e75f2b8c4387568caf696f9aefc3da1 Author: Nick Mathewson <nickm@torproject.org> Date: Thu Sep 25 14:40:54 2014 -0400 Add the obligatory "don't edit this file" warnings --- lib/trunnel/Boilerplate.py | 1 + lib/trunnel/CodeGen.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/lib/trunnel/Boilerplate.py b/lib/trunnel/Boilerplate.py index e38a4d9..0fc20eb 100644 --- a/lib/trunnel/Boilerplate.py +++ b/lib/trunnel/Boilerplate.py @@ -27,6 +27,7 @@ def emitfile(fname, in_fname, out_fname): with open(in_fname, 'r') as inp, open(out_fname, 'w') as out: out.write("/* %(fname)s -- copied from Trunnel v%(version)s\n" " * https://gitweb.torproject.org/trunnel.git\n" + " * You probably shouldn't edit this file.\n" " */\n" % settings) out.write(inp.read()) diff --git a/lib/trunnel/CodeGen.py b/lib/trunnel/CodeGen.py index cb779c9..9d91394 100644 --- a/lib/trunnel/CodeGen.py +++ b/lib/trunnel/CodeGen.py @@ -2718,6 +2718,7 @@ class ParseFnGenerator(CodeGenerator): HEADER_BOILERPLATE = """\ /* %(h_fname)s -- generated by by Trunnel v%(version)s. * https://gitweb.torproject.org/trunnel.git + * You probably shouldn't edit this file. */ #ifndef %(guard_macro)s #define %(guard_macro)s @@ -2735,6 +2736,7 @@ HEADER_FOOTER = """ MODULE_BOILERPLATE = """\ /* %(c_fname)s -- generated by Trunnel v%(version)s. * https://gitweb.torproject.org/trunnel.git + * You probably shouldn't edit this file. */ #include <stdlib.h> #include "trunnel-impl.h"