def select(self,cols,table,where=None):
	''' make common sql 'SELECT' a tad less cumbersome'''
	parms = {'cols':cols, 'table':table, 'where':where}
	if where:
		return self.exec_sql_r(parms % "SELECT %(cols)s FROM %(table)s WHERE %(where)s")
	else:
		return self.exec_sql_r("SELECT %(cols)s FROM %(table)s" % parms)
dataset/ETHPy150Open mharnold/spiderosm/spiderosm/dbinterface.py/DatabaseInterface.select/swapped operands of `%`