mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 15:13:56 -06:00
Remove trailing whitespace from Python files
This commit is contained in:
parent
1e33360c35
commit
89f0970a88
157 changed files with 562 additions and 562 deletions
|
@ -31,7 +31,7 @@ def readHex(filename):
|
|||
check_sum &= 0xFF
|
||||
if check_sum != 0:
|
||||
raise Exception("Checksum error in hex file: " + line)
|
||||
|
||||
|
||||
if rec_type == 0:#Data record
|
||||
while len(data) < addr + rec_len:
|
||||
data.append(0)
|
||||
|
|
|
@ -22,7 +22,7 @@ class IspBase():
|
|||
if not self.chip:
|
||||
raise IspError("Chip with signature: " + str(self.getSignature()) + "not found")
|
||||
self.chipErase()
|
||||
|
||||
|
||||
Logger.log("d", "Flashing %i bytes", len(flash_data))
|
||||
self.writeFlash(flash_data)
|
||||
Logger.log("d", "Verifying %i bytes", len(flash_data))
|
||||
|
|
|
@ -56,7 +56,7 @@ class Stk500v2(ispBase.IspBase):
|
|||
self.close()
|
||||
raise
|
||||
self.serial.timeout = 5
|
||||
|
||||
|
||||
def close(self):
|
||||
if self.serial is not None:
|
||||
self.serial.close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue