summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/prserv/db.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/prserv/db.py')
-rw-r--r--bitbake/lib/prserv/db.py2
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: