px_uploader.py: use consistent indenting

This file had the indentending mixed up between 4 and 8 spaces.
This changes it to the Pythonic way of 4 spaces.
This commit is contained in:
Julian Oes 2017-02-27 09:28:10 +01:00 committed by Beat Küng
parent 16530e15db
commit 172f35042f
1 changed files with 527 additions and 526 deletions

View File

@ -632,7 +632,7 @@ try:
# Windows, don't open POSIX ports
if "/" not in port:
up = uploader(port, args.baud_bootloader, baud_flightstack)
except Exception:
except Exception as e:
# open failed, rate-limit our attempts
time.sleep(0.05)
@ -652,6 +652,7 @@ try:
break
except Exception:
if not up.send_reboot():
break