[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/ Added a login_logout snippet that works with all varieties of principals. The old approach broke with principals coming from a principal folder.

Jim Fulton jim at zope.com
Mon Feb 7 10:01:32 EST 2005


Garrett Smith wrote:
> Log message for revision 29058:
>   Added a login_logout snippet that works with all varieties of principals. The old approach broke with principals coming from a principal folder.
> 
> Changed:
...
>   A   Zope3/trunk/src/zope/app/security/browser/loginlogout.txt

Garrett,

This file has DOS line endings, causing it's test to fail on 'nix.
It also doesn't have the svn:eol-style property set.  If it did, then
the line endings would have been taken care of automatically.  You need
something like the following in your subversion configuration file (or
whatever the windows equivalent is):

enable-auto-props = yes

[auto-props]
*.py = svn:eol-style=native; svn:keywords=Id
* = svn:eol-style=native

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org


More information about the Zope3-Checkins mailing list