From bc0ae6e2637c08d7429eec839517c3d9c1b39f31 Mon Sep 17 00:00:00 2001 From: nhumrich Date: Tue, 5 May 2015 11:06:42 -0700 Subject: [PATCH] Update util.py --- pathspec/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pathspec/util.py b/pathspec/util.py index 754bbdf..e8fe448 100644 --- a/pathspec/util.py +++ b/pathspec/util.py @@ -49,7 +49,7 @@ def iter_tree(root): abspath = os.path.abspath(parent) if real != abspath and real in abspath: # if real is a parent of current parent - raise util.RecursionError(real_path=real, first_path=memo[real], second_path=parent) + raise RecursionError(real_path=real, first_path=memo[real], second_path=parent) else: # not recursion, just a sideways link continue