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
074bc170
Commit
074bc170
authored
Jul 03, 2001
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
introducing '$' as allowed character for object IDs
(needed to support Webdrive to create temporary files)
parent
282dcdf8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
lib/python/OFS/ObjectManager.py
lib/python/OFS/ObjectManager.py
+4
-3
No files found.
lib/python/OFS/ObjectManager.py
View file @
074bc170
...
@@ -84,9 +84,9 @@
...
@@ -84,9 +84,9 @@
##############################################################################
##############################################################################
__doc__
=
"""Object Manager
__doc__
=
"""Object Manager
$Id: ObjectManager.py,v 1.13
7 2001/05/30 15:57:31
andreas Exp $"""
$Id: ObjectManager.py,v 1.13
8 2001/07/03 18:18:34
andreas Exp $"""
__version__
=
'$Revision: 1.13
7
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.13
8
$'
[
11
:
-
2
]
import
App.Management
,
Acquisition
,
Globals
,
CopySupport
,
Products
import
App.Management
,
Acquisition
,
Globals
,
CopySupport
,
Products
import
os
,
App
.
FactoryDispatcher
,
re
,
Products
import
os
,
App
.
FactoryDispatcher
,
re
,
Products
...
@@ -109,7 +109,7 @@ customImporters={
...
@@ -109,7 +109,7 @@ customImporters={
XMLExportImport
.
magic
:
XMLExportImport
.
importXML
,
XMLExportImport
.
magic
:
XMLExportImport
.
importXML
,
}
}
bad_id
=
re
.
compile
(
r'[^a-zA-Z0-9-_~,. ]'
).
search
#TS
bad_id
=
re
.
compile
(
r'[^a-zA-Z0-9-_~,.
$
]'
).
search
#TS
# Global constants: __replaceable__ flags:
# Global constants: __replaceable__ flags:
NOT_REPLACEABLE
=
0
NOT_REPLACEABLE
=
0
...
@@ -234,6 +234,7 @@ class ObjectManager(
...
@@ -234,6 +234,7 @@ class ObjectManager(
gmt
=
[]
gmt
=
[]
for
entry
in
Products
.
meta_types
:
for
entry
in
Products
.
meta_types
:
if
interfaces
is
None
:
if
interfaces
is
None
:
if
entry
.
get
(
"visibility"
,
None
)
==
"Global"
:
if
entry
.
get
(
"visibility"
,
None
)
==
"Global"
:
gmt
.
append
(
entry
)
gmt
.
append
(
entry
)
...
...
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