Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Lu Xu
erp5
Commits
653ab8ae
Commit
653ab8ae
authored
Jul 21, 2021
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
knowledge_pad: fix a unused variable
parent
e8e7f5d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
bt5/erp5_knowledge_pad/ExtensionTemplateItem/portal_components/extension.erp5.GetRssDataAsDict.py
...Item/portal_components/extension.erp5.GetRssDataAsDict.py
+0
-1
bt5/erp5_knowledge_pad/ExtensionTemplateItem/portal_components/extension.erp5.GetRssDataAsDict.xml
...tem/portal_components/extension.erp5.GetRssDataAsDict.xml
+1
-3
No files found.
bt5/erp5_knowledge_pad/ExtensionTemplateItem/portal_components/extension.erp5.GetRssDataAsDict.py
View file @
653ab8ae
...
@@ -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
...
...
bt5/erp5_knowledge_pad/ExtensionTemplateItem/portal_components/extension.erp5.GetRssDataAsDict.xml
View file @
653ab8ae
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment