call the force_str function with an argument: salt, if it exists, if not with a string '%s.%s', with '%s' replaced by,
self . salt = force_str ( salt or '%s.%s' % ( self . __class__ . __module__ , self . __class__ . __name__ ) )