def getUserFromNick(self, network, nick):
        """Return a user given its nick."""
        for user in self.users.values():
            try:
                if nick in user.nicks[network]:
                    return user
            except __HOLE__:
                pass
        return None
dataset/ETHPy150Open ProgVal/Limnoria/src/ircdb.py/UsersDictionary.getUserFromNick