>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.
On May 28, 2010, at 06:47 AM, Didier Roche wrote:
>No, just remove: exists( os.path. expanduser( '~/quickly- templates' )): directories. append( os.path. expanduser( '~/quickly- templates' )) get('QUICKLY_ TEMPLATES' ) get('QUICKLY_ TEMPLATES' ) templates: ' + user_paths
>32 if os.path.
>33 template_
>
>And replace:
>36 + user_paths = os.environ.
>37 + if user_paths is not None:
>
>by:
>user_paths = os.environ.
>user_paths = '~/quickly-
>
>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.