Replace python2.7 by python everywhere.

This commit is contained in:
Eklavya Sharma 2016-04-07 18:57:25 +05:30 committed by Tim Abbott
parent a21cb61b3f
commit e786295352
2 changed files with 3 additions and 3 deletions

View file

@ -93,11 +93,11 @@ class IRCBot(irc.bot.SingleServerIRCBot):
return
self.dcc_connect(address, port)
usage = """python2.7 irc-mirror.py --server=IRC_SERVER --channel=<CHANNEL> --nick-prefix=<NICK> [optional args]
usage = """python irc-mirror.py --server=IRC_SERVER --channel=<CHANNEL> --nick-prefix=<NICK> [optional args]
Example:
python2.7 irc-mirror.py --irc-server=127.0.0.1 --channel='#test' --nick-prefix=username
python irc-mirror.py --irc-server=127.0.0.1 --channel='#test' --nick-prefix=username
--site=https://zulip.example.com --user=irc-bot@example.com
--api-key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

View file

@ -33,7 +33,7 @@ import stat
try:
from subprocess import CalledProcessError
except ImportError:
# from python2.7:subprocess.py
# from python:subprocess.py
# Exception classes used by this module.
class CalledProcessError(Exception):
"""This exception is raised when a process run by check_call() returns