Renamed a few extension-less python handlers with a .py extension for consistency

This commit is contained in:
Jean-Francois Dockes
2022-01-14 12:12:22 +01:00
parent 667e661c46
commit 8b3792026f
32 changed files with 151 additions and 149 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ using namespace std;
// The internal path element separator. This can't be the same as the rcldb
// file to ipath separator : "|"
// We replace it with a control char if it comes out of a filter (ie:
// rclzip or rclchm can do this). If you want the SOH control char
// rclzip.py or rclchm.py can do this). If you want the SOH control char
// inside an ipath, you're out of luck (and a bit weird).
static const string cstr_isep(":");
+1 -2
View File
@@ -82,8 +82,7 @@ bool MimeHandlerExec::set_document_file_impl(const std::string& mt,
tpsread = true;
if (!nomd5tps.empty()) {
if (params.size() &&
nomd5tps.find(path_getsimple(params[0])) !=
nomd5tps.end()) {
nomd5tps.find(path_getsimple(params[0])) != nomd5tps.end()) {
m_handlernomd5 = true;
}
// On windows the 1st param is often a script interp
+1 -1
View File
@@ -73,7 +73,7 @@ text/plainData: 10
* time). Absent during indexing (ipaths are generated and sent back from
* the script)
* - Mimetype: this is the mime type for the (possibly container) file.
* Can be useful to filters which handle multiple types, like rclaudio.
* Can be useful to filters which handle multiple types, like rclaudio.py.
*
* The script answers with messages having the following fields:
* - Document: translated document data.