Skip to content

Commit 2859f7a

Browse files
committed
Final
1 parent d173f88 commit 2859f7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cbapi/response/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2324,7 +2324,7 @@ def parents(self):
23242324
while True:
23252325
try :
23262326
parent = current_process.parent
2327-
if parent.get('pid',-1) == -1:
2327+
if not(parent) or parent.get('process_pid',-1) == -1:
23282328
break
23292329
yield parent
23302330
current_process = parent

0 commit comments

Comments
 (0)