Add a repr for Project

Also remove setstate from it, since we intend to serialize it with json.
This commit is contained in:
Dave Halter
2018-01-23 19:21:50 +01:00
parent 4653c30fa4
commit e6f934de11

View File

@@ -110,8 +110,8 @@ class Project(object):
return self._environment
def __setstate__(self, state):
self.__dict__.update(state)
def __repr__(self):
return '<%s: %s>' % (self.__class__.__name__, self._path)
def _is_potential_project(path):