Homec4science

In the following code:

Authored by Nicholas Robinson <nicholas.robinson@cern.ch> on May 10 2008, 21:42.

Description

In the following code:


dummy, filename, extension = decompose_file(current_file)
if extension:

extension = '.' + extension

A period was added to the beginning of the extension. However, when the
extension is returned from decompose_file, the period is already present at
its start. It is therefore now only added if it's not there to begin with.

Event Timeline

Nicholas Robinson <nicholas.robinson@cern.ch> committed R3600:31e86b5b6be8: In the following code: (authored by Nicholas Robinson <nicholas.robinson@cern.ch>).May 10 2008, 21:42