Mercurial > piecrust2
comparison piecrust/processing/compass.py @ 1036:12a1bd7af52e
bake: Remove superfluous debug message.
| author | Ludovic Chabant <ludovic@chabant.com> |
|---|---|
| date | Tue, 16 Jan 2018 08:40:53 -0800 |
| parents | 4850f8c21b6e |
| children |
comparison
equal
deleted
inserted
replaced
| 1035:1a7f3ae09c53 | 1036:12a1bd7af52e |
|---|---|
| 66 if self._state != self.STATE_UNKNOWN: | 66 if self._state != self.STATE_UNKNOWN: |
| 67 return | 67 return |
| 68 | 68 |
| 69 config = self.app.config.get('compass') | 69 config = self.app.config.get('compass') |
| 70 if config is None or not config.get('enable'): | 70 if config is None or not config.get('enable'): |
| 71 logger.debug("Compass processing is disabled (set " | |
| 72 "`compass/enable` to `true` to enable it).") | |
| 73 self._state = self.STATE_INACTIVE | 71 self._state = self.STATE_INACTIVE |
| 74 return | 72 return |
| 75 | 73 |
| 76 logger.debug("Activating Compass processing for SCSS/SASS files.") | 74 logger.debug("Activating Compass processing for SCSS/SASS files.") |
| 77 self._state = self.STATE_ACTIVE | 75 self._state = self.STATE_ACTIVE |
