Skip to content

Commit

Permalink
Rm dead code in cat command
Browse files Browse the repository at this point in the history
  • Loading branch information
giftig committed Feb 17, 2023
1 parent 21e02a4 commit 0f494be
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions s3_browser/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,15 +140,11 @@ def cat(self, *args):
return

paths = [self.normalise_path(p) for p in args.keys]
streams = []

for p in paths:
obj = self.client.get_object(p)
utils.print_object(obj)

for s in streams:
utils.print_stream(s)

def rm(self, *args):
parser = SafeParser('rm')
parser.add_argument('keys', nargs='+', help='S3 key(s) to delete')
Expand Down

0 comments on commit 0f494be

Please sign in to comment.