1
0
forked from VimPlug/jedi

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