Commits

Steve Borho committed d4016fb

nautilus: disable demandimport after our own imports

Also removes some tabs that snuck into the file. Contributed by
Alex<i>b adob321@gmail.com

  • Participants
  • Parent commits 243a38c
  • Branches stable

Comments (0)

Files changed (1)

File contrib/nautilus-thg.py

 else:
     debugf = debugthg.debugf_No
 
+# avoid breaking other Python nautilus extensions
+demandimport.disable()
 
 nofilecmds = 'about serve synch repoconfig userconfig merge unmerge'.split()
 
         return True
 
 if ui.ui().configbool("tortoisehg", "overlayicons", default = True):
-	class HgExtension(HgExtensionIcons, nautilus.MenuProvider, nautilus.ColumnProvider, nautilus.PropertyPageProvider, nautilus.InfoProvider):
-		pass
+    class HgExtension(HgExtensionIcons, nautilus.MenuProvider, nautilus.ColumnProvider, nautilus.PropertyPageProvider, nautilus.InfoProvider):
+        pass
 else:
-	class HgExtension(HgExtensionDefault, nautilus.MenuProvider, nautilus.ColumnProvider, nautilus.PropertyPageProvider):
-		pass
+    class HgExtension(HgExtensionDefault, nautilus.MenuProvider, nautilus.ColumnProvider, nautilus.PropertyPageProvider):
+        pass