Set the master url that this object works with.

def set_master(self, url):
        """Set the master url that this object works with."""
        m = urlparse(url)
        self.master_scheme = m.scheme
        self.master_netloc = m.netloc
        self.master_path = os.path.dirname(m.path)