def update_remote(self, name, branch=None):
        import subprocess
        repo_path = self.path
        the_branch = branch or "master"
        cmd = ["cd %s;git push %s %s" % (repo_path, name, branch)]
        try:
            subproc = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
            output = subproc.communicate()
        except:
            pass
dataset/ETHPy150Open washingtontimes/django-repositories/repositories/vcs.old.py/GitRepository.update_remote/original