We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3be8010 commit 42c3b47Copy full SHA for 42c3b47
java2python/mod/transform.py
@@ -12,6 +12,7 @@
12
# understand how and when selectors are associated with these callables.
13
14
import re
15
+from logging import warn
16
17
import keyword
18
import types
@@ -132,10 +133,12 @@ def formatString(node, config):
132
133
format = call_args[0].firstChild()
134
if format.type == tokens.IDENT:
135
# String variable
- pass
136
+ warn('Formatting string %s is not automatically translated.'
137
+ % str(format.token.text))
138
else:
139
# Function that returns String
140
+ warn('Formatting string returned by %s() is not automatically translated.'
141
+ % str(format.firstChildOfType(tokens.IDENT).token.text))
142
143
left_ident = dot.children[0]
144
right_ident = dot.children[1]
0 commit comments