Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 7639816
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion nikola/plugins/command/auto/__init__.py
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion nikola/plugins/command/deploy.py
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion nikola/plugins/command/github_deploy.py
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion nikola/plugins/command/serve.py
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion nikola/plugins/command/status.py
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion nikola/plugins/task/py3_switch.py
Expand Up @@ -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"
Expand Down

0 comments on commit 7639816

Please sign in to comment.