def expand_relative_uri(self,context,uri):
        """If uri is relative then expand in context
        
        Prints warning if expansion happens
        """
        full_uri = urljoin(context,uri)
        if (full_uri != uri):
            print("  WARNING - expanded relative URI to %s" % (full_uri))
            uri = full_uri
        return(uri)
dataset/ETHPy150Open resync/resync/resync/explorer.py/Explorer.expand_relative_uri/original