summaryrefslogtreecommitdiff
path: root/scss/errors.py
diff options
context:
space:
mode:
authorEevee (Alex Munroe) <eevee.git@veekun.com>2014-09-16 18:37:33 -0700
committerEevee (Alex Munroe) <eevee.git@veekun.com>2014-09-16 18:37:33 -0700
commit8c530adb664f8277c5d2f989522324f9eb1d9c63 (patch)
tree43809276582e731d97d3bb01388b7bdc74101d46 /scss/errors.py
parentf63a6964df84c193478a7cce14013a5f53f6aee7 (diff)
downloadpyscss-8c530adb664f8277c5d2f989522324f9eb1d9c63.tar.gz
Possible implementation of an import hook for extensions.
Diffstat (limited to 'scss/errors.py')
-rw-r--r--scss/errors.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scss/errors.py b/scss/errors.py
index 65f5350..971ee76 100644
--- a/scss/errors.py
+++ b/scss/errors.py
@@ -158,9 +158,11 @@ class SassImportError(SassBaseError):
def format_message(self):
return (
"Couldn't find anything to import: {0}\n"
- "Search path:\n {1}"
+ "Extensions: {1}\n"
+ "Search path:\n {2}"
.format(
self.bad_name,
+ ", ".join(repr(ext) for ext in self.compiler.extensions),
"\n ".join(self.compiler.search_path),
)
)