summaryrefslogtreecommitdiff
path: root/git/db/dulwich/__init__.py
blob: 92d30941f5ea5d32ac97920de3a6febdeeaaeb46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
"""Dulwich module initialization"""

def init_dulwich():
	""":raise ImportError: if dulwich is not present"""
	try:
		import dulwich
	except ImportError:
		raise ImportError("Could not find 'dulwich' in the PYTHONPATH - dulwich functionality is not available")
	#END handle dulwich import



init_dulwich()