[Zope] Adding an external method

Gitte Wange gitte@mmmanager.org
Fri, 6 Jul 2001 15:37:00 +0200


On Friday 06 July 2001 15:19, Oleg Broytmann wrote:
> On Fri, 6 Jul 2001, Gitte Wange wrote:
> >   File "monthRange.py", line 3
> >     def monthRange(self,dt):
> >     ^
> > SyntaxError: invalid syntax
>
>    Something wrong before the "def". For example, CRLF line endings on
> UNIX.
>
> Oleg.
> ----
>      Oleg Broytmann     http://www.zope.org/Members/phd/     phd@phd.pp.ru
>            Programmers don't die, they just GOSUB without RETURN.

You were right ... I typed in the few lines of code again (instead of 
copy/paste) and it added the external method without errors.

Thinking of it I should have thought of that - copy/paste from browsers 
always fails for me :-)

Thank you for the help ...

Regards,