Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
ZODB
Commits
e68ca5ae
Commit
e68ca5ae
authored
Apr 11, 2017
by
Jason Madden
Committed by
Jim Fulton
Apr 11, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Import warnings on demand. (#159)
Fixes #158.
parent
b6a9fb41
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
CHANGES.rst
CHANGES.rst
+2
-3
src/ZODB/blob.py
src/ZODB/blob.py
+2
-0
No files found.
CHANGES.rst
View file @
e68ca5ae
...
...
@@ -5,7 +5,7 @@
5.2.3 (unreleased)
==================
-
Nothing changed yet
.
-
Fix an import error. See `issue 158 <https://github.com/zopefoundation/ZODB/issues/158>`_
.
5.2.2 (2017-04-11)
...
...
@@ -14,7 +14,7 @@
- Fixed: A blob misfeature set blob permissions so that blobs and blob
directories were only readable by the database process owner, rather
than honoring user-controlled permissions (e.g. ``umask``).
See `issue 155 <https://github.com/zopefoundation/ZODB/issues/155>`_.
5.2.1 (2017-04-08)
==================
...
...
@@ -411,4 +411,3 @@ Bugs Fixed
.. note::
Please see https://github.com/zopefoundation/ZODB/blob/master/HISTORY.rst
for older versions of ZODB.
src/ZODB/blob.py
View file @
e68ca5ae
...
...
@@ -389,11 +389,13 @@ class FilesystemHelper:
(
self
.
layout_name
,
self
.
base_dir
,
layout
))
def
isSecure
(
self
,
path
):
import
warnings
warnings
.
warn
(
"isSecure is deprecated. Permissions are no longer set by ZODB"
,
DeprecationWarning
,
stacklevel
=
2
)
def
checkSecure
(
self
):
import
warnings
warnings
.
warn
(
"checkSecure is deprecated. Permissions are no longer set by ZODB"
,
DeprecationWarning
,
stacklevel
=
2
)
...
...
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