changeset 45:0443ab9533ce

Fixed inconsistent indentation.
author KarstenBock@gmx.net
date Fri, 02 Sep 2011 12:29:55 +0200
parents 9f631144124f
children 3bacef35b252
files src/parpg/application.py
diffstat 1 files changed, 12 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/src/parpg/application.py	Thu Sep 01 23:26:50 2011 +0200
+++ b/src/parpg/application.py	Fri Sep 02 12:29:55 2011 +0200
@@ -37,7 +37,7 @@
 class KeyFilter(fife.IKeyFilter):
     """
     This is the implementation of the fife.IKeyFilter class.
-    
+
     Prevents any filtered keys from being consumed by guichan.
     """
     def __init__(self, keys):
@@ -49,12 +49,12 @@
         return event.getKey().getValue() in self._keys
 
 class ApplicationListener(KeyListener,
-                        MouseListener,
-                        ConsoleExecuter,
-                        CommandListener,
-                        WidgetListener):    
+                          MouseListener,
+                          ConsoleExecuter,
+                          CommandListener,
+                          WidgetListener):    
     """Basic listener for PARPG"""
-        
+
     def __init__(self, event_listener, engine, view, model):
         """Initialize the instance.
            @type engine: fife.engine
@@ -74,7 +74,7 @@
         self.model = model
         keyfilter = KeyFilter([fife.Key.ESCAPE])
         keyfilter.__disown__()        
-        
+
         engine.getEventManager().setKeyFilter(keyfilter)
         self.quit = False
         self.about_window = None
@@ -109,12 +109,12 @@
        We use an MVC model model
        self.gamesceneview is our view,self.model is our model
        self.controller is the controller"""
-       
+
     def __init__(self, setting):
         """Initialise the instance.
            @return: None"""
-	self._setting = setting
-	self.manager = FifeManager()
+        self._setting = setting
+        self.manager = FifeManager()
         self.engine = fife.Engine()
         self.loadSettings()
         self.engine.init()
@@ -163,7 +163,7 @@
         for fontdef in fontdefs:
             pychan.internal.get_manager().addFont(PARPGFont(fontdef,
                                                             self._setting))
-                
+
 
     def loadSettings(self):
         """
@@ -212,4 +212,4 @@
         if self.listener.quit:
             self.breakRequested = True #pylint: disable-msg=C0103
         else:
-            self.manager._pump()
+            self.manager._pump()
\ No newline at end of file