diff options
Diffstat (limited to 'bitbake/lib/bb/pysh')
-rw-r--r-- | bitbake/lib/bb/pysh/pyshyacc.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/pysh/pyshyacc.py b/bitbake/lib/bb/pysh/pyshyacc.py index 8bb9927321..3d6f54a58c 100644 --- a/bitbake/lib/bb/pysh/pyshyacc.py +++ b/bitbake/lib/bb/pysh/pyshyacc.py | |||
@@ -648,6 +648,7 @@ def p_error(p): | |||
648 | try: | 648 | try: |
649 | import pyshtables | 649 | import pyshtables |
650 | except ImportError: | 650 | except ImportError: |
651 | import os | ||
651 | outputdir = os.path.dirname(__file__) | 652 | outputdir = os.path.dirname(__file__) |
652 | if not os.access(outputdir, os.W_OK): | 653 | if not os.access(outputdir, os.W_OK): |
653 | outputdir = '' | 654 | outputdir = '' |