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:09:53 +0100 |
commit | fb7fa0159ef01239cb3de956d1b1c528fe02162b (patch) | |
tree | 5f80f56aab5ed827af44dc6f272b4a12007b0f55 /bitbake/HEADER | |
parent | 09b231deb19799659cd181deebf3e5437048b619 (diff) | |
download | poky-fb7fa0159ef01239cb3de956d1b1c528fe02162b.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
(Bitbake rev: 759f953e29a7131614e5b1f0312edf2b17523675)
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/HEADER')
0 files changed, 0 insertions, 0 deletions