summaryrefslogtreecommitdiff
path: root/codegen.py
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2010-06-24 13:36:42 +0100
committerSimon MacMullen <simon@rabbitmq.com>2010-06-24 13:36:42 +0100
commitc66e8d1f66a0bdbba4a5584d62cd98eb6837b642 (patch)
tree91328861aac725ba2ecf1f495b8df239b56db3cd /codegen.py
parent96a1984b44dbd71cfd0191d1e4dcca7f84d197a7 (diff)
downloadrabbitmq-server-c66e8d1f66a0bdbba4a5584d62cd98eb6837b642.tar.gz
Don't pull protocol version from the JSON.
Diffstat (limited to 'codegen.py')
-rw-r--r--codegen.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/codegen.py b/codegen.py
index 0d6d9d56..467b0285 100644
--- a/codegen.py
+++ b/codegen.py
@@ -410,8 +410,6 @@ def genHrl(spec):
methods = spec.allMethods()
printFileHeader()
- print "-define(PROTOCOL_VERSION_MAJOR, %d)." % (spec.major)
- print "-define(PROTOCOL_VERSION_MINOR, %d)." % (spec.minor)
print "-define(PROTOCOL_PORT, %d)." % (spec.port)
for (c,v,cls) in spec.constants: