From 09a83d1da6a627e7af02ab2906578054e1b67f11 Mon Sep 17 00:00:00 2001 From: "German M. Bravo" Date: Fri, 17 Jul 2015 12:43:02 -0500 Subject: Improved deprecation warning messages --- scss/compiler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scss') diff --git a/scss/compiler.py b/scss/compiler.py index 72e1e38..b6cccc5 100644 --- a/scss/compiler.py +++ b/scss/compiler.py @@ -1068,7 +1068,7 @@ class Compilation(object): except IndexError: is_var = False if is_var: - warn_deprecated(rule, "Assignment with = is deprecated; use :.") + warn_deprecated(rule, "Assignment with = is deprecated; use : instead.") calculator = self._make_calculator(rule.namespace) prop = prop.strip() prop = calculator.do_glob_math(prop) @@ -1273,7 +1273,7 @@ class Compilation(object): # TODO implement !optional warn_deprecated( rule, - "Can't find any matching rules to extend {0!r} -- this" + "Can't find any matching rules to extend {0!r} -- this " "will be fatal in 2.0, unless !optional is specified!" .format(selector.render())) continue -- cgit v1.2.1