From e786295352dcc13c77b6c804be25fc3ee468b7e8 Mon Sep 17 00:00:00 2001 From: Eklavya Sharma Date: Thu, 7 Apr 2016 18:57:25 +0530 Subject: [PATCH] Replace python2.7 by python everywhere. --- bots/irc-mirror.py | 4 ++-- integrations/perforce/git_p4.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bots/irc-mirror.py b/bots/irc-mirror.py index 3e5aa24..6f643e1 100644 --- a/bots/irc-mirror.py +++ b/bots/irc-mirror.py @@ -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= --nick-prefix= [optional args] +usage = """python irc-mirror.py --server=IRC_SERVER --channel= --nick-prefix= [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 diff --git a/integrations/perforce/git_p4.py b/integrations/perforce/git_p4.py index b76451c..69b1646 100644 --- a/integrations/perforce/git_p4.py +++ b/integrations/perforce/git_p4.py @@ -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