Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hamza
erp5-Boxiang
Commits
88d772fd
Commit
88d772fd
authored
Jun 30, 2016
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_knowledge_pad: fix Base_getRssDataAsDocumentList
I missed it in commit
b0209091
parent
1bf56d7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bt5/erp5_knowledge_pad/ExtensionTemplateItem/portal_components/erp5.extension.GetRssDataAsDict.py
...Item/portal_components/erp5.extension.GetRssDataAsDict.py
+2
-2
No files found.
bt5/erp5_knowledge_pad/ExtensionTemplateItem/portal_components/erp5.extension.GetRssDataAsDict.py
View file @
88d772fd
import
feedparser
,
urllib2
,
socket
import
feedparser
,
urllib2
,
socket
from
hashlib
import
md5
from
hashlib
import
md5
def
getRssDataAsDict
(
self
,
url
,
username
=
None
,
password
=
None
):
def
getRssDataAsDict
(
context
,
url
,
username
=
None
,
password
=
None
):
result
=
{}
result
=
{}
translate
=
self
.
Base_translateString
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
...
...
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