Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
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
Kirill Smelkov
Zope
Commits
61d0b1d9
Commit
61d0b1d9
authored
Jul 20, 2003
by
Chris McDonough
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provide machinery for ZConfig import of temporary storage.
parent
4c0fd68c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
lib/python/Products/TemporaryFolder/component.xml
lib/python/Products/TemporaryFolder/component.xml
+14
-0
lib/python/Products/TemporaryFolder/config.py
lib/python/Products/TemporaryFolder/config.py
+6
-0
No files found.
lib/python/Products/TemporaryFolder/component.xml
0 → 100644
View file @
61d0b1d9
<component
prefix=
"Products.TemporaryFolder.config"
>
<sectiontype
name=
"temporarystorage"
datatype=
".TemporaryStorage"
implements=
"ZODB.storage"
>
<description>
A nonundoing storage which keeps data in RAM and which does
not need to be packed unless cyclic references are kept.
</description>
<key
name=
"name"
default=
"Temporary Storage"
/>
</sectiontype>
</component>
lib/python/Products/TemporaryFolder/config.py
0 → 100644
View file @
61d0b1d9
from
ZODB.config
import
BaseConfig
class
TemporaryStorage
(
BaseConfig
):
def
open
(
self
):
from
Products.TemporaryFolder.TemporaryStorage
import
TemporaryStorage
return
TemporaryStorage
(
self
.
config
.
name
)
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