Re: [Zope-dev] install complains about 'invalid' Python files
13 Mar
2003
13 Mar
'03
2:45 p.m.
Lennart Regebro wrote:
THerp@apriori.de wrote:
When I run the Zope install script on a freshly installed Zope, and my Product is already there, it complains that the *.py scripts (aimed for import) would be invalid, because there are return-, but no def statements. Thus, installation fails; I must first remove my product.
This may be completely daft, but my first reaction is that files with Zope python scripts maybe should have separate file extentions, since they aren't valid python files. .pys, maybe?
Well, I wanted to avoid this. But since this seams to be the only possibility, I'll use .zpy instead (Zope PYthon script) and tell vim to highlight them as Python. Thanks, Tobias
8448
Age (days ago)
8448
Last active (days ago)
0 comments
1 participants
participants (1)
-
THerp@apriori.de