Ver Fonte

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

junhuanchen há 1 ano atrás
pai
commit
5275e279ad
1 ficheiros alterados com 1 adições e 1 exclusões
  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)