We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82650ef commit b495d8eCopy full SHA for b495d8e
python/hdfs_native/cli.py
@@ -52,7 +52,7 @@ def _glob_path(client: Client, glob: str) -> List[str]:
52
def cat(args: Namespace):
53
for src in args.src:
54
client = _client_for_url(src)
55
- for path in _glob_path(client, src):
+ for path in _glob_path(client, _path_for_url(src)):
56
with client.read(path) as file:
57
while chunk := file.read(1024 * 1024):
58
sys.stdout.buffer.write(chunk)
0 commit comments