Skip to content

Commit

Permalink
[hdfs] Fix File browser zipfile upload bug (#2862)
Browse files Browse the repository at this point in the history
* [backend]Fix for Extracting zip file in the File Browser causes exception

Co-authored-by: Harsh Gupta <42064744+Harshg999@users.noreply.github.com>
  • Loading branch information
VijayaKanchamreddy and Harshg999 committed May 31, 2022
1 parent 8028119 commit ed4f20a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktop/libs/hadoop/src/hadoop/fs/hadoopfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def _copy_file(self, local_src, remote_dst, chunk_size=1024 * 1024 * 64):
else:
LOG.info(_('%(remote_dst)s does not exist. Trying to copy.') % {'remote_dst': remote_dst})

src = file(local_src)
src = open(local_src)
try:
try:
self.create(remote_dst, permission=0o755)
Expand Down

0 comments on commit ed4f20a

Please sign in to comment.