diff options
Diffstat (limited to 'bitbake/lib/toaster/toastermain/settings.py')
| -rw-r--r-- | bitbake/lib/toaster/toastermain/settings.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastermain/settings.py b/bitbake/lib/toaster/toastermain/settings.py index 141ad08877..60e80de2f6 100644 --- a/bitbake/lib/toaster/toastermain/settings.py +++ b/bitbake/lib/toaster/toastermain/settings.py | |||
| @@ -393,3 +393,12 @@ class InvalidString(str): | |||
| 393 | "Undefined variable or unknown value for: \"%s\"" % other) | 393 | "Undefined variable or unknown value for: \"%s\"" % other) |
| 394 | 394 | ||
| 395 | TEMPLATE_STRING_IF_INVALID = InvalidString("%s") | 395 | TEMPLATE_STRING_IF_INVALID = InvalidString("%s") |
| 396 | |||
| 397 | import sys | ||
| 398 | sys.path.append( | ||
| 399 | os.path.join( | ||
| 400 | os.path.join( | ||
| 401 | os.path.dirname(os.path.dirname(os.path.abspath(__file__))), | ||
| 402 | "contrib"), | ||
| 403 | "django-aggregate-if-master") | ||
| 404 | ) | ||
