fromupstream: Don't freeze X11 when running with bash

Drinkcat has/had a tendency to run `bash fromupstream.py`
This causes bash to call imagemagick's generically named tool `import`
for every time we're importing python libraries. Essentially freezing
up X11 until enough Ctrl+Cs were pressed.

Write a small bash polyglot so bash exits right away with a helpful
reminder to run this script as python.

BUG=Banter from chat
TEST=bash ./src/platform/dev/contrib/fromupstream.py

Change-Id: I689c669415cd637354bfe4013b1ec62b9f8897a4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/2670129
Tested-by: Alexandru M Stan <amstan@chromium.org>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Commit-Queue: Alexandru M Stan <amstan@chromium.org>
diff --git a/contrib/fromupstream.py b/contrib/fromupstream.py
index 2065eff..3fd4a28 100755
--- a/contrib/fromupstream.py
+++ b/contrib/fromupstream.py
@@ -7,6 +7,9 @@
 
 """This is a tool for picking patches from upstream and applying them."""
 
+"""echo""" "This is a python script! Don't interpret it with bash."
+"""exit"""
+
 import argparse
 from collections import OrderedDict
 import configparser