From 2cafc6a1c8410c868bb6b7bfc0bec2bd5ed27bcc Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 12 Nov 2008 11:37:34 +0100 Subject: [PATCH] awful.util: deprecate write on stderr Signed-off-by: Julien Danjou --- lib/awful/util.lua.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/awful/util.lua.in b/lib/awful/util.lua.in index 1e02d422..39ec5127 100644 --- a/lib/awful/util.lua.in +++ b/lib/awful/util.lua.in @@ -23,8 +23,8 @@ local capi = module("awful.util") function deprecate() - print("W: awful: function is deprecated") - print(debug.traceback()) + io.stderr:write("W: awful: function is deprecated") + io.stderr:write(debug.traceback()) end --- Strip alpha part of color.