def _normalize_string(orig):
 return orig.replace('"', '').replace("'", '').strip()

def _normalize_string ( orig ) : return orig . replace ( '"' , '' ) . replace ( "'" , '' ) . strip ( )
helper function for _get_systemd_os_release_var() to remove quotes and whitespaces .