浏览代码

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)


正在加载...
取消
保存