diff --git a/src/common/xmpp/auth.py b/src/common/xmpp/auth.py
index 733346123dc8f9f4e6cba9e2fe73ef4874222ca8..04d7fd60c4bd57ebea283ef0b0b5af03db02f0e2 100644
--- a/src/common/xmpp/auth.py
+++ b/src/common/xmpp/auth.py
@@ -63,10 +63,10 @@ class NonSASL(PlugIn):
             self.DEBUG("Performing zero-k authentication",'ok')
 
             def hasher(s):
-               return sha.new(s).hexdigest()
+                return sha.new(s).hexdigest()
 
             def hash_n_times(s, count):
-               return count and hasher(hash_n_times(s, count-1)) or s
+                return count and hasher(hash_n_times(s, count-1)) or s
 
             hash_ = hash_n_times(hasher(hasher(self.password)+token), int(seq))
             query.setTagData('hash', hash_)
diff --git a/src/common/xmpp/client.py b/src/common/xmpp/client.py
index 4a1c8b7e89bc5306ee0d176d61699c3af3ad5ea4..cbed923646e9ef8d0511c1455c9273c28652e996 100644
--- a/src/common/xmpp/client.py
+++ b/src/common/xmpp/client.py
@@ -284,11 +284,11 @@ class Component(CommonClient):
             self.Server=server[0]
         CommonClient.connect(self,server=server,proxy=proxy)
         if self.connected and (self.typ=='jabberd2' or not self.typ and self.Dispatcher.Stream.features is not None):
-                self.defaultNamespace=auth.NS_CLIENT
-                self.Dispatcher.RegisterNamespace(self.defaultNamespace)
-                self.Dispatcher.RegisterProtocol('iq',dispatcher.Iq)
-                self.Dispatcher.RegisterProtocol('message',dispatcher.Message)
-                self.Dispatcher.RegisterProtocol('presence',dispatcher.Presence)
+            self.defaultNamespace=auth.NS_CLIENT
+            self.Dispatcher.RegisterNamespace(self.defaultNamespace)
+            self.Dispatcher.RegisterProtocol('iq',dispatcher.Iq)
+            self.Dispatcher.RegisterProtocol('message',dispatcher.Message)
+            self.Dispatcher.RegisterProtocol('presence',dispatcher.Presence)
         return self.connected
 
     def auth(self,name,password,dup=None,sasl=0):
diff --git a/src/common/xmpp/commands.py b/src/common/xmpp/commands.py
index 555a372fa29361609690b0a97dfc590eeba6b047..1eb105978ef68e6a556185b7870358d7f5c73f40 100644
--- a/src/common/xmpp/commands.py
+++ b/src/common/xmpp/commands.py
@@ -89,7 +89,7 @@ class Commands(PlugIn):
                 conn.send(Error(request,ERR_ITEM_NOT_FOUND))
                 raise NodeProcessed
         elif node in self._handlers['']:
-                self._handlers[''][node]['execute'](conn,request)
+            self._handlers[''][node]['execute'](conn,request)
         else:
             conn.send(Error(request,ERR_ITEM_NOT_FOUND))
             raise NodeProcessed
diff --git a/src/osx/growl/Growl.py b/src/osx/growl/Growl.py
index f035e69dfc9aa98efdd59b38f90180a43af12136..dd4fe885e18bc4e4aef8c954051a05b4ab3fc296 100644
--- a/src/osx/growl/Growl.py
+++ b/src/osx/growl/Growl.py
@@ -135,7 +135,7 @@ class netgrowl:
         checksum = md5.new()
         checksum.update(data)
         if self.password:
-           checksum.update(self.password)
+            checksum.update(self.password)
         data += checksum.digest()
         return data