replace NotImplementedError by plain text stating it is not implemented.

This commit is contained in:
Frédéric Péters 2006-11-13 13:06:45 +00:00
parent 776802a96f
commit e90eeb1a78
1 changed files with 17 additions and 2 deletions

View File

@ -58,7 +58,14 @@ class AnnouncesDirectory(Directory):
def sms(self):
raise NotImplementedError
get_response().breadcrumb.append(('sms', _('sms')))
template.html_top(_('receiving announces by sms'))
# XXX
'<p>'
'holy shit batman, how many times do you have to click here?'
'</p>'
def subscribe [html] (self):
get_response().breadcrumb.append(('subscribe', _('Subscription')))
@ -219,7 +226,15 @@ If you do nothing, the request will lapse after 3 days (precisely on
def atom(self):
raise NotImplementedError
get_response().breadcrumb.append(('atom', _('Atom Feed')))
template.html_top(_('Atom Feed'))
# XXX
'<p>'
'Someday there will be a feed at this address.'
'</p>'
OldRegisterDirectory = wcs.root.RegisterDirectory