aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-07-01 08:45:06 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-07-01 08:45:06 +0100
commitfc75b73046cee4ae8400fcf36824cadef9c6b15a (patch)
tree55159cde5e3bdc9f7f53a628ff8cc66e95144e11
parent579b10d52d9a3b398ec75ebb8354a726a08bcbf4 (diff)
downloadpaludis-fc75b73046cee4ae8400fcf36824cadef9c6b15a.tar.gz
paludis-fc75b73046cee4ae8400fcf36824cadef9c6b15a.tar.xz
Make no newlines at eof a debug statement for now
-rw-r--r--paludis/util/config_file.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/paludis/util/config_file.cc b/paludis/util/config_file.cc
index 12ad4d7..a51517e 100644
--- a/paludis/util/config_file.cc
+++ b/paludis/util/config_file.cc
@@ -188,7 +188,7 @@ LineConfigFile::LineConfigFile(const Source & sr, const LineConfigFileOptions &
{
if (parser.eof())
{
- Log::get_instance()->message("line_config_file.no_trailing_newline", ll_warning, lc_context)
+ Log::get_instance()->message("line_config_file.no_trailing_newline", ll_debug, lc_context)
<< "No newline at end of file";
break;
}
@@ -206,7 +206,7 @@ LineConfigFile::LineConfigFile(const Source & sr, const LineConfigFileOptions &
if (parser.eof())
{
- Log::get_instance()->message("line_config_file.no_trailing_newline", ll_warning, lc_context)
+ Log::get_instance()->message("line_config_file.no_trailing_newline", ll_debug, lc_context)
<< "No newline at end of file";
break;
}
@@ -225,7 +225,7 @@ LineConfigFile::LineConfigFile(const Source & sr, const LineConfigFileOptions &
{
if (parser.eof())
{
- Log::get_instance()->message("line_config_file.no_trailing_newline", ll_warning, lc_context)
+ Log::get_instance()->message("line_config_file.no_trailing_newline", ll_debug, lc_context)
<< "No newline at end of file";
break;
}
@@ -528,7 +528,7 @@ KeyValueConfigFile::KeyValueConfigFile(
{
if (parser.eof())
{
- Log::get_instance()->message("key_value_config_file.no_trailing_newline", ll_warning, lc_context)
+ Log::get_instance()->message("key_value_config_file.no_trailing_newline", ll_debug, lc_context)
<< "No newline at end of file";
break;
}
@@ -545,7 +545,7 @@ KeyValueConfigFile::KeyValueConfigFile(
if (parser.eof())
{
- Log::get_instance()->message("key_value_config_file.no_trailing_newline", ll_warning, lc_context)
+ Log::get_instance()->message("key_value_config_file.no_trailing_newline", ll_debug, lc_context)
<< "No newline at end of file";
break;
}
@@ -561,7 +561,7 @@ KeyValueConfigFile::KeyValueConfigFile(
if (! parser.consume(simple_parser::exact("\n")))
{
if (parser.eof())
- Log::get_instance()->message("key_value_config_file.no_trailing_newline", ll_warning, lc_context)
+ Log::get_instance()->message("key_value_config_file.no_trailing_newline", ll_debug, lc_context)
<< "No newline at end of file";
else
throw ConfigFileError(sr.filename(),
@@ -591,7 +591,7 @@ KeyValueConfigFile::KeyValueConfigFile(
if (! parser.consume(simple_parser::exact("\n")))
{
if (parser.eof())
- Log::get_instance()->message("key_value_config_file.no_trailing_newline", ll_warning, lc_context)
+ Log::get_instance()->message("key_value_config_file.no_trailing_newline", ll_debug, lc_context)
<< "No newline at end of file";
else
throw ConfigFileError(sr.filename(), "Expected newline after source command in line " + stringify(parser.current_line_number()));
@@ -667,7 +667,7 @@ KeyValueConfigFile::KeyValueConfigFile(
if (! parser.consume(simple_parser::exact("\n")))
{
if (parser.eof())
- Log::get_instance()->message("key_value_config_file.no_trailing_newline", ll_warning, lc_context)
+ Log::get_instance()->message("key_value_config_file.no_trailing_newline", ll_debug, lc_context)
<< "No newline at end of file";
else
throw ConfigFileError(sr.filename(),