Add repr.
This commit is contained in:
parent
22baa23f52
commit
4a08e54d15
1 changed files with 3 additions and 0 deletions
|
@ -27,6 +27,9 @@ class BuildDependencyTieBreaker(object):
|
||||||
self.rootdir = rootdir
|
self.rootdir = rootdir
|
||||||
self._counts = None
|
self._counts = None
|
||||||
|
|
||||||
|
def __repr__(self):
|
||||||
|
return "%s(%r)" % (type(self).__name__, self.rootdir)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_session(cls, session):
|
def from_session(cls, session):
|
||||||
return cls(session.location)
|
return cls(session.location)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue