diff options
author | Joshua Lock <josh@linux.intel.com> | 2012-05-11 17:58:57 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-13 20:01:12 +0100 |
commit | 759f953e29a7131614e5b1f0312edf2b17523675 (patch) | |
tree | 112725b24df1cf05077d1353d76282214be13ea6 /setup.py | |
parent | 4dd2655caef1003b51c0600397a91f1c9526a67f (diff) | |
download | bitbake-759f953e29a7131614e5b1f0312edf2b17523675.tar.gz |
lib/bb/siggen: use open() rather than the file constructor
The Python documentation states:
"When opening a file, it’s preferable to use open() instead of invoking
the file constructor directly." [1]
Further in Python 3 direct use of the file constructor is no longer
possible.
1. http://docs.python.org/library/functions.html#open
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions