Skip to content

Commit

Permalink
fixed bug related to #34
Browse files Browse the repository at this point in the history
  • Loading branch information
dcvan24 committed Jun 6, 2018
1 parent 2a45067 commit 2d557d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


def get_short_ids(p):
return [p2 for p1, p2 in re.compile(short_id_pattern).findall(p) if not p1] if p else []
return re.compile(short_id_pattern).findall(p) if p else []


def parse_container_short_id(p, appliance):
Expand Down

0 comments on commit 2d557d2

Please sign in to comment.