Browse Source

Remove unnecessary whitespace from error messages

develop
Jonathan Golder 9 years ago
parent
commit
4e21b6696a
  1. 8
      redfam.py

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

Loading…
Cancel
Save