Code review comment for lp:~barry/quickly/585617-userdirs

Revision history for this message
Barry Warsaw (barry) wrote :

On May 28, 2010, at 06:47 AM, Didier Roche wrote:

>No, just remove:
>32 if os.path.exists(os.path.expanduser('~/quickly-templates')):
>33 template_directories.append(os.path.expanduser('~/quickly-templates'))
>
>And replace:
>36 + user_paths = os.environ.get('QUICKLY_TEMPLATES')
>37 + if user_paths is not None:
>
>by:
>user_paths = os.environ.get('QUICKLY_TEMPLATES')
>user_paths = '~/quickly-templates:' + user_paths
>
>so that the code to insert an template template path is common.

I see now, thanks. r510 in my branch has a slightly modified approach.

« Back to merge proposal