def remove_old_links(self):
        """Clear out any old symbolic links from the scenes directory."""

        for file_name in os.listdir(self.scenes_dir):
            file_path = os.path.join(self.scenes_dir, file_name)
            if os.path.islink(file_path):
                try:
                    os.remove(file_path)
                except IOError as e:
                    raise AssertionError('Unable to remove symbolic link' +
                                         (file_path, e.strerror) % '%s: %s')
dataset/ETHPy150Open GeoscienceAustralia/agdc/tests/systest.py/Systest.remove_old_links/swapped operands of `%`