Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
nexedi
erp5
Commits
f9b08a8a
Commit
f9b08a8a
authored
10 months ago
by
Jérome Perrin
Committed by
Arnaud Fontaine
7 months ago
Browse files
Options
Download
Email Patches
Plain Diff
dms: pylint on py3
parent
076e56ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/external_document_interaction_workflow/script_FixUrlString.py
...rnal_document_interaction_workflow/script_FixUrlString.py
+1
-1
No files found.
bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/external_document_interaction_workflow/script_FixUrlString.py
View file @
f9b08a8a
...
...
@@ -4,6 +4,6 @@ i=u.find('://')
if
i
>-
1
:
prot
=
u
[:
i
]
if
prot
not
in
o
.
getProtocolList
():
raise
Exception
(
"Protocol "
+
prot
+
" not supported"
)
raise
ValueError
(
"Protocol "
+
prot
+
" not supported"
)
o
.
setUrlString
(
u
[
i
+
3
:])
o
.
setUrlProtocol
(
prot
)
This diff is collapsed.
Click to expand it.
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