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
Labels
Merge Requests
139
Merge Requests
139
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
03adae28
Commit
03adae28
authored
Dec 29, 2020
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CookieCrumbler: fix indentation of patching and bare execeptions
parent
fe3a9b32
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
product/ERP5Type/patches/CookieCrumbler.py
product/ERP5Type/patches/CookieCrumbler.py
+12
-12
No files found.
product/ERP5Type/patches/CookieCrumbler.py
View file @
03adae28
...
...
@@ -214,15 +214,15 @@ class ResponseCleanup:
# they are, even to log them.
try
:
del
self
.
resp
.
unauthorized
except
:
except
Exception
:
pass
try
:
del
self
.
resp
.
_unauthorized
except
:
except
Exception
:
pass
try
:
del
self
.
resp
except
:
except
Exception
:
pass
...
...
@@ -272,9 +272,9 @@ if 1:
# No errors of any sort may propagate, and we don't care *what*
# they are, even to log them.
try
:
del
resp
.
unauthorized
except
:
pass
except
Exception
:
pass
try
:
del
resp
.
_unauthorized
except
:
pass
except
Exception
:
pass
return
resp
security
.
declarePrivate
(
'unauthorized'
)
...
...
@@ -343,11 +343,11 @@ if 1:
return
url
return
None
CookieCrumbler
.
__call__
=
__call__
CookieCrumbler
.
_cleanupResponse
=
_cleanupResponse
CookieCrumbler
.
unauthorized
=
unauthorized
CookieCrumbler
.
_unauthorized
=
_unauthorized
CookieCrumbler
.
getUnauthorizedURL
=
getUnauthorizedURL
CookieCrumbler
.
__call__
=
__call__
CookieCrumbler
.
_cleanupResponse
=
_cleanupResponse
CookieCrumbler
.
unauthorized
=
unauthorized
CookieCrumbler
.
_unauthorized
=
_unauthorized
CookieCrumbler
.
getUnauthorizedURL
=
getUnauthorizedURL
###
...
...
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