Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

wait for push to finish before destroying window

  • Loading branch information...
commit 0369bdf67d711462bb14e86b5b1c5e5e2ad7b37f 1 parent 617a0d8
@dresende authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 gitgedit/__init__.py
View
4 gitgedit/__init__.py
@@ -31,8 +31,8 @@ def deactivate(self):
# GIT STUFF
def git_push(self, widget, dialog, path):
os.chdir(os.path.dirname(path))
-
- subprocess.Popen([ "git", "push", self.git_remote, "master" ])
+
+ commands.getoutput("git push %s master" % (self.git_remote))
dialog.get_widget("push_window").destroy()
Please sign in to comment.
Something went wrong with that request. Please try again.