]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
replace tabs in snack.py (#870647)
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 24 Jan 2013 13:24:15 +0000 (14:24 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 24 Jan 2013 13:24:15 +0000 (14:24 +0100)
snack.py

index 30b760c91025d54d93a98b5fc20e5cf90caaef48..09506a433137b1598919a74b40986e452f587c58 100644 (file)
--- a/snack.py
+++ b/snack.py
@@ -480,7 +480,7 @@ class SnackScreen:
         self.helpCb(self, arg)
     
     def helpCallback(self, cb):
-       self.helpCb = cb
+        self.helpCb = cb
         return _snack.helpcallback(self.doHelpCallback)
 
     def suspendCallback(self, cb, data = None):
@@ -627,7 +627,7 @@ class ButtonBar(Grid):
 
         for (button, value) in self.list:
             if result == button:
-               return value
+                return value
         return None