summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mgr/PyModule.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mgr/PyModule.h b/src/mgr/PyModule.h
index 177447c2cb3..3dd39a77865 100644
--- a/src/mgr/PyModule.h
+++ b/src/mgr/PyModule.h
@@ -161,7 +161,7 @@ public:
}
const std::string &get_name() const {
- std::lock_guard l(lock) ; return module_name;
+ return module_name;
}
const std::string &get_error_string() const {
std::lock_guard l(lock) ; return error_string;