gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-taler-util] 08/51: Update python config module.


From: gnunet
Subject: [GNUnet-SVN] [taler-taler-util] 08/51: Update python config module.
Date: Mon, 23 Sep 2019 22:01:59 +0200

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

ng0 pushed a commit to branch master
in repository taler-util.

commit 4141f50e14a25153d87d81579b1f9e23a786f2bd
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Feb 1 16:17:29 2019 +0100

    Update python config module.
    
    Does absolute paths at @INLINE@s now.
---
 python/config/talerconfig.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/python/config/talerconfig.py b/python/config/talerconfig.py
index 7b55b62..8272e21 100644
--- a/python/config/talerconfig.py
+++ b/python/config/talerconfig.py
@@ -277,7 +277,10 @@ class TalerConfig:
                         if 2 != len(pair):
                             LOGGER.error("invalid inlined config filename 
given ('%s')" % line)
                             continue 
-                        self.load_file(os.path.join(os.path.dirname(filename), 
pair[1]))
+                        if pair[1].startswith("/"):
+                            self.load_file(pair[1])
+                        else:
+                            
self.load_file(os.path.join(os.path.dirname(filename), pair[1]))
                         continue
                     if line.startswith("["):
                         if not line.endswith("]"):

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



reply via email to

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