Index: vcpx/git.py
===================================================================
--- vcpx/git.py	(revision 1162)
+++ vcpx/git.py	(revision 1163)
@@ -126,11 +126,11 @@
             entries.append(e)
 
-	# Brute-force tag search
-	from os.path import join, isdir
-	from os import listdir
-
-	tags = []
-	tagdir = join(self.basedir, '.git', 'refs', 'tags')
-	try:
+        # Brute-force tag search
+        from os.path import join
+        from os import listdir
+
+        tags = []
+        tagdir = join(self.basedir, '.git', 'refs', 'tags')
+        try:
             for tag in listdir(tagdir):
                 # Consider caching stat info per tailor run
@@ -138,7 +138,7 @@
                 if (tagrev == revision):
                     tags.append(tag)
-	except OSError:
-	    # No tag dir
-	    pass
+        except OSError:
+            # No tag dir
+            pass
 
         return Changeset(revision, date, user, message, entries, tags=tags)
@@ -238,10 +238,10 @@
         (out, _) = c.execute(stdout=PIPE, env=env, input=logmessage)
         if c.exit_status:
-	    failed = True
-	    if out:
-		for line in [x.strip() for x in out if x[0] != '#']:
-		    if line == 'nothing to commit':
-			failed = False
-	    if failed:
+            failed = True
+            if out:
+                for line in [x.strip() for x in out if x[0] != '#']:
+                    if line == 'nothing to commit':
+                        failed = False
+            if failed:
                 raise ChangesetApplicationFailure("%s returned status %d" %
                                                   (str(c), c.exit_status))
