'Get password for user, or None if user does not exist'

def get(self, username):

    with self.lock:
        for (pw,) in self.conn.cursor().execute(u'SELECT    pw    FROM    users    WHERE    name=?', (username,)):
            return pw
