From c58290f864314b63e9ec1a15c0b504fc24f48270 Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Tue, 11 Mar 2014 14:41:02 +0700 Subject: [PATCH] Fix: profiling id namespacing --- CHANGELOG.md | 9 ++++++--- src/taoensso/timbre/profiling.clj | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1765e1b..d636a6c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,11 @@ +## v3.1.3 / 2014 Mar 11 + + * FIX: profiling id namespacing. + + ## v3.1.1 / 2014 Feb 26 -### Fixes - - * Fix project.clj to prevent unnecessary downstream deps. + * FIX: project.clj to prevent unnecessary downstream deps. ## v3.1.0 / 2014 Feb 23 diff --git a/src/taoensso/timbre/profiling.clj b/src/taoensso/timbre/profiling.clj index 135ff95..0d57515 100644 --- a/src/taoensso/timbre/profiling.clj +++ b/src/taoensso/timbre/profiling.clj @@ -7,7 +7,7 @@ (defmacro fq-keyword "Returns namespaced keyword for given id." [id] `(if (and (keyword? ~id) (namespace ~id)) ~id - (keyword (str ~*ns*) (name ~id)))) + (keyword (str *ns*) (name ~id)))) (comment (map #(fq-keyword %) ["foo" :foo :foo/bar]))