Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.

Commit

Permalink
properly handle case when tags=None
Browse files Browse the repository at this point in the history
  • Loading branch information
quasiben committed Mar 31, 2017
1 parent 24102d4 commit ad9bcb9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dask_ec2/cli/main.py
Expand Up @@ -150,7 +150,10 @@ def up(ctx, name, keyname, keypair, region_name, vpc_id, subnet_id,
import os
from ..ec2 import EC2

tags = tags.split(',')
if tags:
tags = tags.split(',')
else:
tags = []

# check tag formatting
for t in tags:
Expand Down

0 comments on commit ad9bcb9

Please sign in to comment.