Reverted back to the == comparison for compat

Hope this looks better.
missing a sys.exit(1)?