def create(self):
        import subprocess
        if self.exists():
            return
        if not os.path.exists(self.config['public_path']):
            os.makedirs(self.config['public_path'])
        if not os.path.exists(self.config['private_path']):
            os.makedirs(self.config['private_path'])
        repo_path = self.path
        os.mkdir(repo_path, 0744)
        cmd = ["cd %s;git --bare init;git --bare update-server-info" % repo_path,]
        subprocess.check_call(cmd, shell=True)
        cmd = [(os.path.join(settings.BIN_PATH, 'initialize_git_repo.sh'), repo_path) % '%s file://%s/']
        subprocess.check_call(cmd, shell=True)
dataset/ETHPy150Open washingtontimes/django-repositories/repositories/vcs.old.py/GitRepository.create/swapped operands of `%`