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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Carlos Ramos Carreño
erp5
Commits
66968313
Commit
66968313
authored
Mar 17, 2021
by
Aurel
Committed by
Arnaud Fontaine
Jan 27, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wip
parent
759ff3f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
product/ERP5/bin/zopewsgi.py
product/ERP5/bin/zopewsgi.py
+1
-1
product/Formulator/Form.py
product/Formulator/Form.py
+2
-2
No files found.
product/ERP5/bin/zopewsgi.py
View file @
66968313
...
@@ -167,7 +167,7 @@ def runwsgi():
...
@@ -167,7 +167,7 @@ def runwsgi():
args
=
parser
.
parse_args
()
args
=
parser
.
parse_args
()
startup
=
os
.
path
.
dirname
(
Zope2
.
Startup
.
__file__
)
startup
=
os
.
path
.
dirname
(
Zope2
.
Startup
.
__file__
)
schema
=
ZConfig
.
loadSchema
(
os
.
path
.
join
(
startup
,
'
zope
schema.xml'
))
schema
=
ZConfig
.
loadSchema
(
os
.
path
.
join
(
startup
,
'
wsgi
schema.xml'
))
conf
,
_
=
ZConfig
.
loadConfig
(
schema
,
args
.
zope_conf
)
conf
,
_
=
ZConfig
.
loadConfig
(
schema
,
args
.
zope_conf
)
make_wsgi_app
({},
zope_conf
=
args
.
zope_conf
)
make_wsgi_app
({},
zope_conf
=
args
.
zope_conf
)
...
...
product/Formulator/Form.py
View file @
66968313
...
@@ -28,7 +28,7 @@ from ComputedAttribute import ComputedAttribute
...
@@ -28,7 +28,7 @@ from ComputedAttribute import ComputedAttribute
# FIXME: manage_renameObject hack needs these imports
# FIXME: manage_renameObject hack needs these imports
from
Acquisition
import
aq_base
from
Acquisition
import
aq_base
from
App.Dialogs
import
MessageDialog
from
App.Dialogs
import
MessageDialog
from
OFS.CopySupport
import
CopyError
,
eNotSupported
from
OFS.CopySupport
import
CopyError
import
sys
import
sys
class
Form
:
class
Form
:
...
@@ -688,7 +688,7 @@ class ZMIForm(ObjectManager, PropertyManager, RoleManager, Item, Form):
...
@@ -688,7 +688,7 @@ class ZMIForm(ObjectManager, PropertyManager, RoleManager, Item, Form):
action
=
'manage_main'
))
action
=
'manage_main'
))
ob
=
self
.
_getOb
(
id
)
ob
=
self
.
_getOb
(
id
)
if
not
ob
.
cb_isMoveable
():
if
not
ob
.
cb_isMoveable
():
raise
CopyError
(
eNotSupported
%
id
)
raise
CopyError
(
'Not Supported'
)
self
.
_verifyObjectPaste
(
ob
)
self
.
_verifyObjectPaste
(
ob
)
try
:
ob
.
_notifyOfCopyTo
(
self
,
op
=
1
)
try
:
ob
.
_notifyOfCopyTo
(
self
,
op
=
1
)
except
:
raise
CopyError
(
MessageDialog
(
except
:
raise
CopyError
(
MessageDialog
(
...
...
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