mirror of https://github.com/n1nj4sec/pupy.git
Fix unitialized access
This commit is contained in:
parent
7b061f0a65
commit
bdd7223202
|
@ -38,6 +38,7 @@ class SafePopen(object):
|
||||||
self.returncode = None
|
self.returncode = None
|
||||||
|
|
||||||
def execute(self, poll_delay=0.5):
|
def execute(self, poll_delay=0.5):
|
||||||
|
returncode = None
|
||||||
try:
|
try:
|
||||||
kwargs = self._popen_kwargs
|
kwargs = self._popen_kwargs
|
||||||
# Setup some required arguments
|
# Setup some required arguments
|
||||||
|
|
Loading…
Reference in New Issue