diff --git a/redfam.py b/redfam.py index 5504b7b..fd96556 100644 --- a/redfam.py +++ b/redfam.py @@ -453,9 +453,8 @@ class RedFamHashError( RedFamError ): def __init__( self, givenHash, calculatedHash ): - message = "Error: Given fam_hash ('{given}') does not match with \ - calculated ('{calc}'".format( given=givenHash, - calc=calculatedHash ) + message = "Given fam_hash ('{given}') does not match with \ +calculated ('{calc}'".format( given=givenHash, calc=calculatedHash ) super().__init__( message ) @@ -467,7 +466,6 @@ class RedFamHeadingError ( RedFamError ): def __init__( self, heading ): message = "Error while trying to parse section heading. Given heading \ - '{heading}' does not match RegEx".format( - heading=heading ) +'{heading}' does not match RegEx".format( heading=heading ) super().__init__( message )