Skip to content

Commit 98b9854

Browse files
committed
remove unreachable code
1 parent 4def8a4 commit 98b9854

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

s3cmd

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,8 +1141,6 @@ def cmd_sync_remote2local(args):
11411141
if not destination_base.endswith(os.path.sep):
11421142
if fetch_source_args[0].endswith(u'/') or len(fetch_source_args) > 1:
11431143
raise ParameterError("Destination must be a directory and end with '/' when downloading multiple sources.")
1144-
elif fetch_source_args[0].endswith(u'/'):
1145-
fetch_source_args[0] += u'/'
11461144

11471145
stats_info = StatsInfo()
11481146

0 commit comments

Comments
 (0)