diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-12 08:30:35 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-16 23:32:40 +0100 |
commit | bc8971d122a02ed823acf0758da267dccc584f98 (patch) | |
tree | dd97329507feb611e64fad7f46d97d657f23eae4 /bitbake/lib/prserv/db.py | |
parent | e2f4d9f1ec694768b223decb59a9c768a2da962d (diff) | |
download | poky-bc8971d122a02ed823acf0758da267dccc584f98.tar.gz |
bitbake: bitbake: Convert to python 3 megacommit This needs breaking up into smaller changes.
(Bitbake rev: cf51f19aed208a75d38c14cd585d9b9f115e3ba3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/prserv/db.py')
-rw-r--r-- | bitbake/lib/prserv/db.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/prserv/db.py b/bitbake/lib/prserv/db.py index 2a86184170..495d09f39b 100644 --- a/bitbake/lib/prserv/db.py +++ b/bitbake/lib/prserv/db.py | |||
@@ -260,7 +260,7 @@ class PRData(object): | |||
260 | self.connection.close() | 260 | self.connection.close() |
261 | 261 | ||
262 | def __getitem__(self,tblname): | 262 | def __getitem__(self,tblname): |
263 | if not isinstance(tblname, basestring): | 263 | if not isinstance(tblname, str): |
264 | raise TypeError("tblname argument must be a string, not '%s'" % | 264 | raise TypeError("tblname argument must be a string, not '%s'" % |
265 | type(tblname)) | 265 | type(tblname)) |
266 | if tblname in self._tables: | 266 | if tblname in self._tables: |