def _update_path(self):
        """
        Determine where the repository is. It is called in __init__ and sets 
        self.path and self.url
        """
        if self.public:
            self.path = os.path.abspath(os.path.join(self.config['public_path'], self.name))
            self.url = (self.config['public_url'], self.name) % "%s%s/"
        else:
            self.path = os.path.abspath(os.path.join(self.config['private_path'], self.name))
            self.url = "%s%s/" % (self.config['private_url'], self.name)
dataset/ETHPy150Open washingtontimes/django-repositories/repositories/vcs.old.py/BaseVCS._update_path/swapped operands of `%`