get_current_emoji_list function had a greedy quantifier in regexp: "data-emoji-name=\"(.*)\""
I.e. for string like
`data-emoji-name="parrot" data-action="emoji.remove"`
it returns following result:
`parrot" data-action="emoji.remove`
In case of lazy quantifier ("data-emoji-name=\"(.*?)\"") the result will be correct:`parrot`
In python2, `input(p)` is equilvalent to `eval(raw_input(p))`,
but raw_input is not defined in python 3. So let's use raw_input
if it's there, and fall back to `input` otherwise (otherwise
probably just means python3.)
This change fixes the following outcome in python2.x :
$ python upload.py -h
Please enter the team name: helloworld
Traceback (most recent call last):
File "upload.py", line 15, in <module>
team_name = input("Please enter the team name: ")
File "<string>", line 1, in <module>
NameError: name 'helloworld' is not defined
1. Add Python 3 (bytes) and 3.5 support (bs4)
2. Allow setting SLACK_* interactively
3. Do not stop uploading in case of errors
4. Fix "already exists" misprint