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._counts = None
|
||||
|
||||
def __repr__(self):
|
||||
return "%s(%r)" % (type(self).__name__, self.rootdir)
|
||||
|
||||
@classmethod
|
||||
def from_session(cls, session):
|
||||
return cls(session.location)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue