def get_num_rows(self,table):
	rows = self.exec_sql_r(table % 'select count(*) as count from %s')
	assert len(rows)==1 
        #print 'DEBUG rows', rows
	return rows[0]['count']
dataset/ETHPy150Open mharnold/spiderosm/spiderosm/dbinterface.py/DatabaseInterface.get_num_rows/swapped operands of `%`