mirror of
http://git.whoc.org.uk/git/password-manager.git
synced 2024-11-14 08:39:01 +01:00
Check to make sure dulwich is available and print error
This commit is contained in:
parent
ba9eff02a0
commit
5115ce2faf
@ -8,6 +8,8 @@ def repositoryWithPath (path):
|
||||
|
||||
repo = Repo(path)
|
||||
result = GitRepository(repo, path)
|
||||
except ImportError:
|
||||
print "Failed to import dulwich, please install http://www.samba.org/~jelmer/dulwich/"
|
||||
except:
|
||||
from mercurial import ui, hg
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user