Просмотр исходного кода

更新 'backup/preset/app/checkout.py'

junhuanchen 1 год назад
Родитель
Сommit
5275e279ad
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      backup/preset/app/checkout.py

+ 1 - 1
backup/preset/app/checkout.py

@@ -15,7 +15,7 @@ def checkout(rep, branch):
     r = repo.Repo(rep)
     try:
         porcelain.checkout_branch(r, 'origin/' + branch)
-    except porcelain.CheckoutError as e::
+    except porcelain.CheckoutError as e:
         print("CheckoutError:", e)
         porcelain.reset(r, 'hard')
         porcelain.checkout_branch(r, 'origin/' + branch)