Last change
on this file since 1190 was
1,
checked in by myroslav, 19 years ago
|
Building directory structure
|
-
Property svn:eol-style set to
native
|
File size:
344 bytes
|
Line | |
---|
1 | ##bind container=container |
---|
2 | ##bind context=context |
---|
3 | ##bind namespace= |
---|
4 | ##bind script=script |
---|
5 | ##bind subpath=traverse_subpath |
---|
6 | ##parameters=body,file |
---|
7 | ##title= |
---|
8 | ## |
---|
9 | |
---|
10 | data="" |
---|
11 | if file: |
---|
12 | file.seek(0) |
---|
13 | data = file.read() |
---|
14 | context.portal_trackspam.setBlackList(body + data) |
---|
15 | return state.set(status = 'success', portal_status_mesage='BLackList updated') |
---|
Note: See
TracBrowser
for help on using the repository browser.