Fix unitialized access

This commit is contained in:
Oleksii Shevchuk 2016-08-27 20:57:14 +03:00
parent 7b061f0a65
commit bdd7223202
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ class SafePopen(object):
self.returncode = None
def execute(self, poll_delay=0.5):
returncode = None
try:
kwargs = self._popen_kwargs
# Setup some required arguments