summaryrefslogtreecommitdiffstats
path: root/python_modules/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 /python_modules/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 'python_modules/codegen.py')
-rw-r--r--python_modules/codegen.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python_modules/codegen.py b/python_modules/codegen.py
index 75033dc..116760c 100644
--- a/python_modules/codegen.py
+++ b/python_modules/codegen.py
@@ -116,7 +116,7 @@ class CodeWriter:
writer.options = self.options
writer.public_prefix = self.public_prefix
- return writer;
+ return writer
def write(self, s):
# Ensure its a string
@@ -184,10 +184,10 @@ class CodeWriter:
self.statement("goto %s" % label)
def indent(self):
- self.indentation += 4;
+ self.indentation += 4
def unindent(self):
- self.indentation -= 4;
+ self.indentation -= 4
if self.indentation < 0:
self.indenttation = 0