Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
ddelange authored Dec 15, 2024
1 parent 00a83c6 commit 715c610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smart_open/hdfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def __init__(self, uri):

@property
def closed(self):
return self._sub is None or self._sub.stdin.closed
return self._sub is None

def close(self):
if self.closed:
Expand Down

0 comments on commit 715c610

Please sign in to comment.