diff --git a/hggit/git_handler.py b/hggit/git_handler.py
index 4665c6ba05c076980d60cc8503a9269cafad3e65_aGdnaXQvZ2l0X2hhbmRsZXIucHk=..64eb2789e5bfef253ad7495533e84b9827914089_aGdnaXQvZ2l0X2hhbmRsZXIucHk= 100644
--- a/hggit/git_handler.py
+++ b/hggit/git_handler.py
@@ -657,7 +657,7 @@
         # Analyze .hgsub and merge with .gitmodules
         hgsub = None
         gitmodules = self.parse_gitmodules(git_commit_tree)
-	if gitmodules or gitlinks:
+        if gitmodules or gitlinks:
             hgsub = util.parse_hgsub(self.git_file_readlines(git_commit_tree, '.hgsub'))
             for (sm_path, sm_url, sm_name) in gitmodules:
                 hgsub[sm_path] = '[git]' + sm_url