summaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorGerman M. Bravo <german.mb@deipi.com>2015-07-17 12:43:02 -0500
committerGerman M. Bravo <german.mb@deipi.com>2015-07-17 12:43:02 -0500
commit09a83d1da6a627e7af02ab2906578054e1b67f11 (patch)
tree860ecefd1eeb2fb2ee4f9618047f31f04310e0ae /scss
parent67cfaea96f1fdcc54825fabae5b75dff4c4e4278 (diff)
downloadpyscss-09a83d1da6a627e7af02ab2906578054e1b67f11.tar.gz
Improved deprecation warning messages
Diffstat (limited to 'scss')
-rw-r--r--scss/compiler.py4
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