Skip to content

Commit

Permalink
ugettext_lazy is supposed to return six.text_type
Browse files Browse the repository at this point in the history
Fix E1101:Instance of '__proxy__' has no 'format' member' when using .format() on a ugettext_lazy translation

NOTE: merged with modifications. Instead of returning str,
      returns ''

Fixes pylint-dev#80
Origina PR: pylint-dev#100
  • Loading branch information
canarduck authored and atodorov committed Jan 17, 2018
1 parent 7db1c57 commit c6dfa00
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ugettext_lazy = lambda x: None
ugettext_lazy = lambda x: ''

0 comments on commit c6dfa00

Please sign in to comment.