瀏覽代碼

fix

tags/v0.1^2
Ben Kurtovic 13 年之前
父節點
當前提交
684bb9a8c3
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      bot/commands/git.py

+ 1
- 1
bot/commands/git.py 查看文件

@@ -153,7 +153,7 @@ class Command(BaseCommand):
changes = re.findall(regex, result)[0][0]
try:
cmnd_remt = "git config --get branch.{0}.remote".format(branch)
remote = self.exec_shell(cmnd_rmt)
remote = self.exec_shell(cmnd_remt)
cmnd_url = "git config --get remote.{0}.url".format(remote)
url = self.exec_shell(cmnd_url)
msg = "done; {0} [from {1}].".format(changes, url)


Loading…
取消
儲存