changeset 3117:385fdd684f87

core: added a debug log when a namespace is registered
author Goffi <goffi@goffi.org>
date Sat, 25 Jan 2020 21:08:25 +0100
parents 328a6cea3802
children 02492db1ce39
files sat/core/sat_main.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sat/core/sat_main.py	Fri Jan 17 20:27:35 2020 +0100
+++ b/sat/core/sat_main.py	Sat Jan 25 21:08:25 2020 +0100
@@ -622,6 +622,7 @@
         """associate a namespace to a short name"""
         if short_name in self.ns_map:
             raise exceptions.ConflictError("this short name is already used")
+        log.debug(f"registering namespace {short_name} => {namespace}")
         self.ns_map[short_name] = namespace
 
     def getNamespaces(self):