diff hggit/git_handler.py @ 267:7814c26758a2

remove unused imports
author Antonin Amand <antonin.amand@gmail.com>
date Sun, 29 Nov 2009 16:29:18 +0100
parents 5347d8c94021
children 6fded8e42858
line wrap: on
line diff
--- a/hggit/git_handler.py	Sun Nov 29 16:24:34 2009 +0100
+++ b/hggit/git_handler.py	Sun Nov 29 16:29:18 2009 +0100
@@ -1,4 +1,4 @@
-import os, sys, math, urllib, re
+import os, math, urllib, re
 import toposort
 
 from dulwich.errors import HangupException
@@ -12,11 +12,6 @@
 from mercurial.node import hex, bin, nullid
 from mercurial import context, util as hgutil
 
-try:
-    from mercurial.error import RepoError
-except ImportError:
-    from mercurial.repo import RepoError
-
 
 class GitHandler(object):