Commit 5f20e1ed authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[trac755] Use function instead of class

This will return the ID directly, not hold it as a class, which will
have smaller memory footprint.
parent 7c4d8ab9
......@@ -271,7 +271,7 @@ writePythonFile(const string& file, MessageDictionary& dictionary) {
vector<string> idents(sortedIdentifiers(dictionary));
BOOST_FOREACH(const string& ident, idents) {
pyfile << ident << " = isc.log.message.Message(\"" <<
pyfile << ident << " = isc.log.message.create(\"" <<
ident << "\", \"" << quoteString(dictionary.getText(ident)) <<
"\")\n";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment