Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#51 Extensions to Ignore -> cheetah extensions

closed-accepted
nobody
WebKit (45)
5
2006-07-07
2003-01-27
Anonymous
No

Not sure why this hasn't bitten anyone else, minor
detail I guess.

Default cheetah template behaviour creates files with
the extension .py_bak. That, and the emacs backup
.tmpl~ should be added to the ExtensionsToIgnore
configuration.

Patch attached.

Discussion

  • Logged In: NO

    Arg, never attached the patch - it is so minor, here it is
    in text form:

    --- Application.config.default.ORIGINAL 2003-01-26
    21:45:34.000000000 -0600
    +++ Application.config.default 2003-01-26
    21:48:05.000000000 -0600
    @@ -2,7 +2,7 @@
    'AdminPassword': '', #You cannot log in with
    an empty password
    'PrintConfigAtStartUp': 1,
    'DirectoryFile': ['index',
    'Index','main','Main'],
    - 'ExtensionsToIgnore': ['.pyc', '.pyo', '.py~',
    '.psp~', '.html~','.bak','.tmpl'],
    + 'ExtensionsToIgnore': ['.pyc', '.pyo', '.py~',
    '.psp~', '.html~','.bak','.tmpl', '.py_bak', '.tmpl~'],
    'ExtensionsToServe': [], # if specified, only
    extensions in this list will be used
    'UseCascadingExtensions': 1,
    'ExtensionCascadeOrder':['.py','.psp','.html'],

     
  • Logged In: YES
    user_id=193957

    Added to Webware 0.9.2.

     
    • status: open --> closed-accepted