summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
Diffstat (limited to 'project.py')
-rw-r--r--project.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/project.py b/project.py
index 972cfa5f..fdbf9e4a 100644
--- a/project.py
+++ b/project.py
@@ -3208,6 +3208,13 @@ class Project(object):
3208 self._bare = bare 3208 self._bare = bare
3209 self._gitdir = gitdir 3209 self._gitdir = gitdir
3210 3210
3211 # __getstate__ and __setstate__ are required for pickling because __getattr__ exists.
3212 def __getstate__(self):
3213 return (self._project, self._bare, self._gitdir)
3214
3215 def __setstate__(self, state):
3216 self._project, self._bare, self._gitdir = state
3217
3211 def LsOthers(self): 3218 def LsOthers(self):
3212 p = GitCommand(self._project, 3219 p = GitCommand(self._project,
3213 ['ls-files', 3220 ['ls-files',