Skip to content

Commit e9975b5

Browse files
canarduckatodorov
authored andcommitted
ugettext_lazy is supposed to return six.text_type
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
1 parent ce00090 commit e9975b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ugettext_lazy = lambda x: None
1+
ugettext_lazy = lambda x: ''

0 commit comments

Comments
 (0)