Skip to content

Commit

Permalink
fix bw items -w for files with content_type: 'any'
Browse files Browse the repository at this point in the history
  • Loading branch information
trehn committed Apr 16, 2015
1 parent fcd2d03 commit ff73a80
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/bundlewrap/cmdline/items.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ def bw_items(repo, args):
for item in node.items:
if not item.id.startswith("file:"):
continue
if item.attributes['content_type'] == 'any':
LOG.warning(_(
"skipping file with 'any' content {filename}..."
).format(filename=item.name))
continue
if item.attributes['content_type'] == 'binary':
LOG.warning(_(
"skipping binary file {filename}..."
Expand Down

0 comments on commit ff73a80

Please sign in to comment.