Remove unnecessary whitespace from error messages

This commit is contained in:
2015-09-19 20:51:52 +02:00
parent 6992f82f02
commit 4e21b6696a

View File

@@ -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 )