Browse Source

Enable line buffering on list URLs FD

master
JustAnotherArchivist 7 months ago
parent
commit
5ac5aacd04
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      s3-bucket-list

+ 1
- 1
s3-bucket-list View File

@@ -36,7 +36,7 @@ while i < len(sys.argv):
elif arg == '--with-list-urls':
withListUrls = True
try:
listUrlsFD = os.fdopen(3, 'w')
listUrlsFD = os.fdopen(3, 'w', buffering = 1)
except OSError:
print('Error: FD 3 not open', file = sys.stderr)
sys.exit(1)


Loading…
Cancel
Save