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@redhat.com>2011-06-21 13:20:33 +0200
commit5ec91855d818078523653e79562921bcea9bef14 (patch)
tree2d71c90fceac333c0747619e2c60d18d1757ede6 /python_modules/codegen.py
parentaa57d2f70cac4bcbaf9324c5efb8c9254caaeb30 (diff)
downloadspice-5ec91855d818078523653e79562921bcea9bef14.tar.gz
spice-5ec91855d818078523653e79562921bcea9bef14.tar.xz
spice-5ec91855d818078523653e79562921bcea9bef14.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 75033dca..116760c8 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