From bbd93cdb6b26e475bc7772a6b0c239082adfc153 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Tue, 21 Jun 2011 13:20:33 +0200 Subject: python: remove c-ism trailing ; --- python_modules/codegen.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python_modules/codegen.py') 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 -- cgit