diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-06-29 20:00:46 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-06-29 20:00:46 +0200 |
commit | 77cd6659b64cb1950a82e6a3cccdda94f15ae739 (patch) | |
tree | 209b8828310e4926b200152b85ff3b7dbd7a2e1e /lib/git/objects/tree.py | |
parent | 791765c0dc2d00a9ffa4bc857d09f615cfe3a759 (diff) | |
download | gitpython-77cd6659b64cb1950a82e6a3cccdda94f15ae739.tar.gz |
Renamed modules utils to util, and errors to exc to be more conforming to the submodules's naming conventions
Diffstat (limited to 'lib/git/objects/tree.py')
-rw-r--r-- | lib/git/objects/tree.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/git/objects/tree.py b/lib/git/objects/tree.py index 64725128..d6e16a31 100644 --- a/lib/git/objects/tree.py +++ b/lib/git/objects/tree.py @@ -3,7 +3,7 @@ # # This module is part of GitPython and is released under # the BSD License: http://www.opensource.org/licenses/bsd-license.php -import utils +import util from base import IndexObject from blob import Blob @@ -101,7 +101,7 @@ class TreeModifier(object): #} END mutators -class Tree(IndexObject, diff.Diffable, utils.Traversable, utils.Serializable): +class Tree(IndexObject, diff.Diffable, util.Traversable, util.Serializable): """Tree objects represent an ordered list of Blobs and other Trees. ``Tree as a list``:: @@ -214,7 +214,7 @@ class Tree(IndexObject, diff.Diffable, utils.Traversable, utils.Serializable): def traverse( self, predicate = lambda i,d: True, prune = lambda i,d: False, depth = -1, branch_first=True, visit_once = False, ignore_self=1 ): - """For documentation, see utils.Traversable.traverse + """For documentation, see util.Traversable.traverse Trees are set to visit_once = False to gain more performance in the traversal""" return super(Tree, self).traverse(predicate, prune, depth, branch_first, visit_once, ignore_self) |