Skip to content
Browse files

diff_tree: Use built-in defaultdict module correctly.

Change-Id: I41073969ce02ee2e26c812a62d9e583b6c5525a3
  • Loading branch information...
1 parent 036f719 commit e2252ee91c4924146bc0ea171926c0510f4da3fa @dborowitz committed with jelmer
Showing with 5 additions and 1 deletion.
  1. +5 −1 dulwich/
6 dulwich/
@@ -18,12 +18,16 @@
"""Utilities for diffing files and trees."""
+ from collections import defaultdict
+except ImportError:
+ from dulwich._compat import defaultdict
from cStringIO import StringIO
import itertools
import stat
from dulwich._compat import (
- defaultdict,
from dulwich.objects import (

0 comments on commit e2252ee

Please sign in to comment.
Something went wrong with that request. Please try again.