Skip to content
Permalink
Browse files

Remove Unicode characters from console output (#1826)

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Apr 28, 2016
1 parent b562024 commit 76398165e46ea79a06b195e6f97049cdf787179c
@@ -102,7 +102,7 @@ class CommandAuto(Command):
'long': 'address',
'type': str,
'default': '127.0.0.1',
'help': 'Address to bind (default: 127.0.0.1 localhost)',
'help': 'Address to bind (default: 127.0.0.1 -- localhost)',
},
{
'name': 'browser',
@@ -121,7 +121,7 @@ def _execute(self, command, args):
try:
subprocess.check_call(command, shell=True)
except subprocess.CalledProcessError as e:
self.logger.error('Failed deployment command {0} '
self.logger.error('Failed deployment -- command {0} '
'returned {1}'.format(e.cmd, e.returncode))
return e.returncode

@@ -116,7 +116,7 @@ def _run_command(self, command, xfail=False):
if xfail:
return e.returncode
self.logger.error(
'Failed GitHub deployment command {0} '
'Failed GitHub deployment -- command {0} '
'returned {1}'.format(e.cmd, e.returncode)
)
raise SystemError(e.returncode)
@@ -78,7 +78,7 @@ class CommandServe(Command):
'long': 'address',
'type': str,
'default': '',
'help': 'Address to bind (default: 0.0.0.0 all local IPv4 interfaces)',
'help': 'Address to bind (default: 0.0.0.0 -- all local IPv4 interfaces)',
},
{
'name': 'detach',
@@ -84,7 +84,7 @@ def _execute(self, options, args):
last_deploy = datetime.strptime(inf.read().strip(), "%Y-%m-%dT%H:%M:%S.%f")
last_deploy_offset = datetime.utcnow() - last_deploy
except (IOError, Exception):
print("It does not seem like youve ever deployed the site (or cache missing).")
print("It does not seem like you've ever deployed the site (or cache missing).")

if last_deploy:

@@ -51,7 +51,7 @@
"Python 2 is the safety blanket of languages. Be a big kid and switch to Python 3",
"Python 2 is old and busted. Python 3 is the new hotness.",
"Nice unicode you have there, would be a shame something happened to it.. switch to python 3!.",
"Dont get in the way of progress! Upgrade to Python 3 and save a developers mind today!",
"Don't get in the way of progress! Upgrade to Python 3 and save a developer's mind today!",
"Winners don't use Python 2 -- Signed: The FBI",
"Python 2? What year is it?",
"I just wanna tell you how I'm feeling\n"

0 comments on commit 7639816

Please sign in to comment.
You can’t perform that action at this time.