diff options
| author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2011-06-21 13:20:33 +0200 |
|---|---|---|
| committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-03-20 15:25:53 +0100 |
| commit | 5ae49c0d5bde642e3485e007a9948b12ee68841e (patch) | |
| tree | c7951e66e00b730ddb84b07a158be017689e7e23 /python_modules/codegen.py | |
| parent | 7f9e2cb1f7cdae2695486ea34f862f1832a14010 (diff) | |
| download | spice-common-5ae49c0d5bde642e3485e007a9948b12ee68841e.tar.gz spice-common-5ae49c0d5bde642e3485e007a9948b12ee68841e.tar.xz spice-common-5ae49c0d5bde642e3485e007a9948b12ee68841e.zip | |
python: remove c-ism trailing ;
Diffstat (limited to 'python_modules/codegen.py')
| -rw-r--r-- | python_modules/codegen.py | 6 |
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 |
