Skip to content

Commit

Permalink
remove useless force_text
Browse files Browse the repository at this point in the history
  • Loading branch information
trehn committed Aug 8, 2017
1 parent 755720a commit 595a821
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bundlewrap/cmdline/items.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from ..exceptions import FaultUnavailable
from ..utils.cmdline import get_item, get_node
from ..utils.statedict import statedict_to_json
from ..utils.text import bold, force_text, green, mark_for_translation as _, red, yellow
from ..utils.text import bold, green, mark_for_translation as _, red, yellow
from ..utils.ui import io


Expand Down Expand Up @@ -102,6 +102,6 @@ def bw_items(repo, args):
else:
for item in sorted(node.items):
if args['show_repr']:
io.stdout(force_text(repr(item)))
io.stdout(repr(item))
else:
io.stdout(force_text(str(item)))
io.stdout(item.id)

0 comments on commit 595a821

Please sign in to comment.