summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scss/expression.py6
-rw-r--r--scss/tool.py6
2 files changed, 3 insertions, 9 deletions
diff --git a/scss/expression.py b/scss/expression.py
index 0091052..18ada87 100644
--- a/scss/expression.py
+++ b/scss/expression.py
@@ -88,8 +88,7 @@ class Calculator(object):
if config.FATAL_UNDEFINED:
raise SyntaxError("Undefined variable: '%s'." % n)
else:
- if config.VERBOSITY > 1:
- log.error("Undefined variable '%s'", n, extra={'stack': True})
+ log.error("Undefined variable '%s'", n, extra={'stack': True})
return n
else:
if v:
@@ -380,8 +379,7 @@ class Variable(Expression):
if config.FATAL_UNDEFINED:
raise SyntaxError("Undefined variable: '%s'." % self.name)
else:
- if config.VERBOSITY > 1:
- log.error("Undefined variable '%s'", self.name, extra={'stack': True})
+ log.error("Undefined variable '%s'", self.name, extra={'stack': True})
return Undefined()
else:
if isinstance(value, six.string_types):
diff --git a/scss/tool.py b/scss/tool.py
index 94f388b..53832eb 100644
--- a/scss/tool.py
+++ b/scss/tool.py
@@ -51,7 +51,7 @@ def main():
parser.add_option("-s", "--suffix", metavar="STRING",
help="If using watch, a suffix added to the output filename (i.e. filename.STRING.css)")
parser.add_option("--time", action="store_true",
- help="Display compliation times")
+ help="Ignored, will be removed in 2.0")
parser.add_option("--debug-info", action="store_true",
help="Turns on scss's debugging information")
parser.add_option("--no-debug-info", action="store_false",
@@ -98,10 +98,6 @@ def main():
options, args = parser.parse_args()
# General runtime configuration
- config.VERBOSITY = 0
- if options.time:
- config.VERBOSITY = 2
-
if options.static_root is not None:
config.STATIC_ROOT = options.static_root
if options.assets_root is not None: