This is an automated notification sent by LCG Savannah.
It relates to:
bugs #50899, project CDS Invenio
==============================================================================
OVERVIEW of bugs #50899:
==============================================================================
URL:
<http://savannah.cern.ch/bugs/?50899>
Summary: CFG_WEBSUBMIT_ADDITIONAL_KNOWN_FILE_EXTENSIONS
needs dots at beginning of extensions
Project: CDS Invenio
Submitted by: mmarino12
Submitted on: 2009-05-26 22:00
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
CFG_WEBSUBMIT_ADDITIONAL_KNOWN_FILE_EXTENSIONS requires dots at the begging
of the name. For example:
>>> from invenio.bibdocfile import file_strip_ext
>>>
>>> file_strip_ext("File.ppt")
'File'
>>> file_strip_ext("File.mpp")
'File.'
This is because the list of extensions provided by mime includes the dots
".ppt", etc. whereas CFG_WEBSUBMIT_ADDITIONAL_KNOWN_FILE_EXTENSIONS (as built
in inveniocfg.py) does not generate these.
_______________________________________________________
Carbon-Copy List:
CC Address | Comment
------------------------------------+-----------------------------
2800 | -SUB-
==============================================================================
This item URL is:
<http://savannah.cern.ch/bugs/?50899>
_______________________________________________
Message sent via/by LCG Savannah
http://savannah.cern.ch/