diff options
author | German M. Bravo <german.mb@deipi.com> | 2015-07-17 12:43:02 -0500 |
---|---|---|
committer | German M. Bravo <german.mb@deipi.com> | 2015-07-17 12:43:02 -0500 |
commit | 09a83d1da6a627e7af02ab2906578054e1b67f11 (patch) | |
tree | 860ecefd1eeb2fb2ee4f9618047f31f04310e0ae | |
parent | 67cfaea96f1fdcc54825fabae5b75dff4c4e4278 (diff) | |
download | pyscss-09a83d1da6a627e7af02ab2906578054e1b67f11.tar.gz |
Improved deprecation warning messages
-rw-r--r-- | scss/compiler.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |