gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-taler-util] 24/51: fix filename extraction.


From: gnunet
Subject: [GNUnet-SVN] [taler-taler-util] 24/51: fix filename extraction.
Date: Mon, 23 Sep 2019 22:02:15 +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 1dc380c34cf9cfcc242e487a28a0ae5e3e9f4f54
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Feb 6 18:32:04 2019 +0100

    fix filename extraction.
---
 python/log/gnunet_log.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/log/gnunet_log.py b/python/log/gnunet_log.py
index 55b5080..ca8e598 100755
--- a/python/log/gnunet_log.py
+++ b/python/log/gnunet_log.py
@@ -98,7 +98,7 @@ class GnunetLogger:
     def log(self, message, message_loglevel):
         caller_frame = inspect.stack()[1]
 
-        filename = inspect.getfile(caller_frame[0])
+        filename = os.path.basename(inspect.getfile(caller_frame[0]))
         lineno = caller_frame.lineno
         function = caller_frame.function
 

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



reply via email to

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