summaryrefslogtreecommitdiffstats
path: root/spice_codegen.py
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2011-06-21 13:20:33 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:25:53 +0100
commitbbd93cdb6b26e475bc7772a6b0c239082adfc153 (patch)
tree8c16f47cf3ed201d9ea3cfa77dc6e2894ccef15d /spice_codegen.py
parentd14c99b84f86dc97f542df67a2fec077b05bf1f7 (diff)
downloadspice-protocol-bbd93cdb6b26e475bc7772a6b0c239082adfc153.tar.gz
spice-protocol-bbd93cdb6b26e475bc7772a6b0c239082adfc153.tar.xz
spice-protocol-bbd93cdb6b26e475bc7772a6b0c239082adfc153.zip
python: remove c-ism trailing ;
Diffstat (limited to 'spice_codegen.py')
-rwxr-xr-xspice_codegen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/spice_codegen.py b/spice_codegen.py
index 05b47f6..c6d6aa9 100755
--- a/spice_codegen.py
+++ b/spice_codegen.py
@@ -16,7 +16,7 @@ def write_channel_enums(writer, channel, client):
if len(messages) == 0:
return
writer.begin_block("enum")
- i = 0;
+ i = 0
if client:
prefix = [ "MSGC" ]
else:
@@ -53,7 +53,7 @@ def write_enums(writer):
if isinstance(t, ptypes.EnumBaseType):
t.c_define(writer)
- i = 0;
+ i = 0
writer.begin_block("enum")
for c in proto.channels:
enum = codegen.prefix_underscore_upper("CHANNEL", c.name.upper())