Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
bug fix Robot-Will#509, 修改局部变量percent作用域
  • Loading branch information
mynameisbill2 authored Nov 6, 2019
1 parent 1b7b5b5 commit 6b6df01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/stino_runtime/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1825,7 +1825,8 @@ def run_build_commands(cmds, msgs):
"""."""
is_ok = True
n = 0

percent = 0

non_blank_msgs = [m for m in msgs if m]
total = len(non_blank_msgs)
for cmd, msg in zip(cmds, msgs):
Expand Down

0 comments on commit 6b6df01

Please sign in to comment.