summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2015-07-21 17:45:33 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2015-07-23 11:11:16 +0200
commit233c463e3461c5846f125b25c37c6f74b36f1f3c (patch)
tree24a35e1e5e1be16c11da13632eaac46f50baefb0
parent5bad231e80ad6202b1860783cc29093b0457d296 (diff)
codegen: Fix typo in variable name
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
-rw-r--r--python_modules/codegen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python_modules/codegen.py b/python_modules/codegen.py
index f324498..55500b7 100644
--- a/python_modules/codegen.py
+++ b/python_modules/codegen.py
@@ -193,7 +193,7 @@ class CodeWriter:
def unindent(self):
self.indentation -= 4
if self.indentation < 0:
- self.indenttation = 0
+ self.indentation = 0
def begin_block(self, prefix= "", comment = ""):
if len(prefix) > 0: