def getcode(self):
        """Create for example "EPSG:4326" string and return back

        :returns: String code formated in "authority:code"
        """

        if self.authority is not None and self.code is not None:
            return (self.authority, self.code) % '%s:%s'
        return None
dataset/ETHPy150Open geopython/OWSLib/owslib/crs.py/Crs.getcode/swapped operands of `%`