#76 Trailing comma in Application.config

closed-fixed
nobody
WebKit (58)
5
2005-02-11
2004-10-20
Andi
No

File "WebKit/Configs/Application.config", line 10:

8<----------------------------------------------

ExtensionCascadeOrder = ['.py','.psp','.html'],

8<----------------------------------------------

The trailing comma can cause an exception:

--------------------------------------------------------------------------------
[Wed Oct 20 18:48:02 2004] [error] WebKit: Error while
executing script None
Traceback (most recent call last):
File "WebKit/Application.py", line 435, in
dispatchRawRequest
File "WebKit/Application.py", line 481, in runTransaction
File "WebKit/URLParser.py", line 66, in
findServletForTransaction
File "WebKit/URLParser.py", line 237, in parse
File "WebKit/URLParser.py", line 303, in parse
File "WebKit/URLParser.py", line 415, in
filenamesForBaseName
TypeError: cannot concatenate 'str' and 'list' objects
----------------------------------------------------------------------

Discussion

  • Ken Lalonde

    Ken Lalonde - 2005-02-11
    • status: open --> closed-fixed
     
  • Ken Lalonde

    Ken Lalonde - 2005-02-11

    Logged In: YES
    user_id=203927

    Typo fixed.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks