Remove unnecessary whitespace from error messages
This commit is contained in:
@@ -453,9 +453,8 @@ class RedFamHashError( RedFamError ):
|
|||||||
|
|
||||||
def __init__( self, givenHash, calculatedHash ):
|
def __init__( self, givenHash, calculatedHash ):
|
||||||
|
|
||||||
message = "Error: Given fam_hash ('{given}') does not match with \
|
message = "Given fam_hash ('{given}') does not match with \
|
||||||
calculated ('{calc}'".format( given=givenHash,
|
calculated ('{calc}'".format( given=givenHash, calc=calculatedHash )
|
||||||
calc=calculatedHash )
|
|
||||||
|
|
||||||
super().__init__( message )
|
super().__init__( message )
|
||||||
|
|
||||||
@@ -467,7 +466,6 @@ class RedFamHeadingError ( RedFamError ):
|
|||||||
def __init__( self, heading ):
|
def __init__( self, heading ):
|
||||||
|
|
||||||
message = "Error while trying to parse section heading. Given heading \
|
message = "Error while trying to parse section heading. Given heading \
|
||||||
'{heading}' does not match RegEx".format(
|
'{heading}' does not match RegEx".format( heading=heading )
|
||||||
heading=heading )
|
|
||||||
|
|
||||||
super().__init__( message )
|
super().__init__( message )
|
||||||
|
|||||||
Reference in New Issue
Block a user