diff options
Diffstat (limited to 'meta/lib/oe/utils.py')
-rw-r--r-- | meta/lib/oe/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py index acd39693b5..ed9409613a 100644 --- a/meta/lib/oe/utils.py +++ b/meta/lib/oe/utils.py | |||
@@ -1,7 +1,7 @@ | |||
1 | def read_file(filename): | 1 | def read_file(filename): |
2 | try: | 2 | try: |
3 | f = file( filename, "r" ) | 3 | f = file( filename, "r" ) |
4 | except IOError, reason: | 4 | except IOError as reason: |
5 | return "" # WARNING: can't raise an error now because of the new RDEPENDS handling. This is a bit ugly. :M: | 5 | return "" # WARNING: can't raise an error now because of the new RDEPENDS handling. This is a bit ugly. :M: |
6 | else: | 6 | else: |
7 | return f.read().strip() | 7 | return f.read().strip() |