diff options
Diffstat (limited to 'bitbake/lib/bb/ui/knotty.py')
| -rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 87e873d644..a3507afb7c 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py | |||
| @@ -144,7 +144,7 @@ class TerminalFilter(object): | |||
| 144 | pass | 144 | pass |
| 145 | if not cr: | 145 | if not cr: |
| 146 | try: | 146 | try: |
| 147 | cr = (env['LINES'], env['COLUMNS']) | 147 | cr = (os.environ['LINES'], os.environ['COLUMNS']) |
| 148 | except: | 148 | except: |
| 149 | cr = (25, 80) | 149 | cr = (25, 80) |
| 150 | return cr | 150 | return cr |
