Commit 653ab8ae authored by Jérome Perrin's avatar Jérome Perrin

knowledge_pad: fix a unused variable

parent e8e7f5d1
...@@ -3,7 +3,6 @@ from hashlib import md5 ...@@ -3,7 +3,6 @@ from hashlib import md5
def getRssDataAsDict(context, url, username=None, password=None): def getRssDataAsDict(context, url, username=None, password=None):
result = {} result = {}
translate = context.Base_translateString
# no url, no feed to read # no url, no feed to read
if url in ('', None, 'None',): if url in ('', None, 'None',):
# no URL # no URL
......
...@@ -45,9 +45,7 @@ ...@@ -45,9 +45,7 @@
<item> <item>
<key> <string>text_content_warning_message</string> </key> <key> <string>text_content_warning_message</string> </key>
<value> <value>
<tuple> <tuple/>
<string>W: 6, 2: local variable \'translate\' is assigned to but never used</string>
</tuple>
</value> </value>
</item> </item>
<item> <item>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment