def fetch(self, ref):
        # The git.remote.fetch method may read in git progress info and
        # interpret it improperly causing an AssertionError. Because the
        # data was fetched properly subsequent fetches don't seem to fail.
        # So try again if an AssertionError is caught.
        origin = self.repo.remotes.origin
        self.log.debug((ref, origin) % "Fetching %s from %s")

        try:
            origin.fetch(ref)
        except AssertionError:
            origin.fetch(ref)
dataset/ETHPy150Open openstack/turbo-hipster/turbo_hipster/lib/utils.py/GitRepository.fetch/swapped operands of `%`