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
ee947f0c
Commit
ee947f0c
authored
Nov 03, 1999
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed Principia refs in docstrings.
parent
b9c9afb2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
lib/python/Products/ExternalMethod/ExternalMethod.py
lib/python/Products/ExternalMethod/ExternalMethod.py
+4
-4
lib/python/Products/MailHost/MailHost.py
lib/python/Products/MailHost/MailHost.py
+3
-3
No files found.
lib/python/Products/ExternalMethod/ExternalMethod.py
View file @
ee947f0c
...
...
@@ -88,7 +88,7 @@
This product provides support for external methods, which allow
domain-specific customization of web environments.
"""
__version__
=
'$Revision: 1.3
4
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.3
5
$'
[
11
:
-
2
]
from
Globals
import
Persistent
,
HTMLFile
,
MessageDialog
,
HTML
import
OFS.SimpleItem
,
Acquisition
from
string
import
split
,
join
,
find
,
lower
...
...
@@ -102,7 +102,7 @@ manage_addExternalMethodForm=HTMLFile('methodAdd', globals())
def
manage_addExternalMethod
(
self
,
id
,
title
,
module
,
function
,
REQUEST
=
None
):
"""Add an external method to a folder
Un addition to the standard
Principia
object-creation arguments,
Un addition to the standard object-creation arguments,
'id' and title, the following arguments are defined:
function -- The name of the python function. This can be a
...
...
@@ -133,13 +133,13 @@ class ExternalMethod(OFS.SimpleItem.Item, Persistent, Acquisition.Explicit,
The function is defined in an external file. This file is treated
like a module, but is not a module. It is not imported directly,
but is rather read and evaluated. The file must reside in the
'Extensions' subdirectory of the
Principia
installation, or in an
'Extensions' subdirectory of the
Zope
installation, or in an
'Extensions' subdirectory of a product directory.
Due to the way ExternalMethods are loaded, it is not *currently*
possible to use Python modules that reside in the 'Extensions'
directory. It is possible to load modules found in the
'lib/python' directory of the
Principia
installation, or in
'lib/python' directory of the
Zope
installation, or in
packages that are in the 'lib/python' directory.
"""
...
...
lib/python/Products/MailHost/MailHost.py
View file @
ee947f0c
...
...
@@ -82,7 +82,7 @@
# attributions are listed in the accompanying credits file.
#
##############################################################################
"""
MailHost, a Principia SMTP object
"""
"""
SMTP mail objects
"""
from
Globals
import
Persistent
,
HTMLFile
,
HTML
,
MessageDialog
from
socket
import
*
;
from
select
import
select
...
...
@@ -93,8 +93,8 @@ import OFS.SimpleItem, re, quopri, rfc822
import
Globals
from
cStringIO
import
StringIO
#$Id: MailHost.py,v 1.4
4 1999/07/21 14:26:00 jeffrey
Exp $
__version__
=
"$Revision: 1.4
4
$"
[
11
:
-
2
]
#$Id: MailHost.py,v 1.4
5 1999/11/03 14:42:15 brian
Exp $
__version__
=
"$Revision: 1.4
5
$"
[
11
:
-
2
]
smtpError
=
"SMTP Error"
MailHostError
=
"MailHost Error"
...
...
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