diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-04-20 14:37:39 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-04-20 14:37:39 +0900 |
commit | 1fcfd0003fec62c18a7d7d90e6b990726b33a478 (patch) | |
tree | 0418a2f1a384857bdb5173c58b310342c0733412 /buildstream | |
parent | be5b26c33adc9e541476a51dded0b45ed4819852 (diff) | |
download | buildstream-1fcfd0003fec62c18a7d7d90e6b990726b33a478.tar.gz |
_artifactcache/pushreceive.py: Fixed ProcessWithPipes to declare attributes in constructor
Diffstat (limited to 'buildstream')
-rw-r--r-- | buildstream/_artifactcache/pushreceive.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/buildstream/_artifactcache/pushreceive.py b/buildstream/_artifactcache/pushreceive.py index 92c82309c..d2eaf2dc0 100644 --- a/buildstream/_artifactcache/pushreceive.py +++ b/buildstream/_artifactcache/pushreceive.py @@ -387,6 +387,9 @@ class ProcessWithPipes(object): self.stderr = open(r2, 'rb') os.close(w2) + # The eventual return code + self.returncode = -1 + def wait(self): self.proc.join() self.returncode = self.proc.exitcode |