rozštěpen z jan/fatamorgana
Return more info when encountering an invalid repetition_type in ArbitraryRepetition
Tento commit je obsažen v:
rodič
10ffcc18ea
revize
acd4e96db0
@ -1220,7 +1220,7 @@ class ArbitraryRepetition:
|
||||
x_displacements.append(x * mult)
|
||||
y_displacements.append(y * mult)
|
||||
else:
|
||||
raise InvalidDataError('Invalid ArbitraryRepetition repetition_type')
|
||||
raise InvalidDataError('Invalid ArbitraryRepetition repetition_type: {}'.format(repetition_type))
|
||||
return ArbitraryRepetition(x_displacements, y_displacements)
|
||||
|
||||
def write(self, stream: io.BufferedIOBase) -> int:
|
||||
|
Načítá se…
x
Odkázat v novém úkolu
Zablokovat Uživatele