Skip to content

Commit

Permalink
Revert ill-conceived "Allow comma-separated services for convenience"
Browse files Browse the repository at this point in the history
This reverts commit 30ce6db.
  • Loading branch information
JohannesEbke committed Nov 10, 2022
1 parent 0c7a53f commit 2fdbf64
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions aws_list_all/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,6 @@ def main():
)

args = parser.parse_args()
services = []
if args.service:
for service in args.service:
services.extend(service.split(","))

if args.command == 'query':
if args.directory:
Expand All @@ -153,8 +149,9 @@ def main():
pass
os.chdir(args.directory)
increase_limit_nofiles()
services = args.service or get_services()
do_query(
services or get_services(),
services,
args.region,
args.operation,
verbose=args.verbose or 0,
Expand Down

0 comments on commit 2fdbf64

Please sign in to comment.