gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-donations] branch master updated: talerconfig


From: gnunet
Subject: [GNUnet-SVN] [taler-donations] branch master updated: talerconfig
Date: Mon, 27 May 2019 18:17:18 +0200

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository donations.

The following commit(s) were added to refs/heads/master by this push:
     new dd83568  talerconfig
dd83568 is described below

commit dd835689654c18353b02f9f5809c7746de222ab9
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon May 27 18:17:12 2019 +0200

    talerconfig
---
 talerdonations/talerconfig.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/talerdonations/talerconfig.py b/talerdonations/talerconfig.py
index 9598be5..4a44c97 100644
--- a/talerdonations/talerconfig.py
+++ b/talerdonations/talerconfig.py
@@ -344,7 +344,7 @@ class TalerConfig:
                 filename = os.path.join(xdg, "taler.conf")
             else:
                 filename = os.path.expanduser("~/.config/taler.conf")
-            logging.info("Loading default config: (%s)" % filename)
+            print("Loading default config: (%s)" % filename)
         if load_defaults:
             cfg.load_defaults()
         cfg.load_file(os.path.expanduser(filename))
@@ -497,7 +497,8 @@ class TalerConfig:
                                   value=value, filename=filename, 
lineno=lineno)
                     sections[current_section][key] = entry
         except FileNotFoundError:
-            LOGGER.error("Configuration file (%s) not found", filename)
+            # not logging here, as this interests the final user mostly.
+            print("Configuration file (%s) not found" % filename)
             sys.exit(3)
 
     ##

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]