Skip to content

Commit

Permalink
docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed Oct 3, 2015
1 parent 2304b49 commit 89e555b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nikola/plugins/task/py3_switch.py
Expand Up @@ -65,6 +65,7 @@


def has_python_3():
"""Check if python 3 is available."""
if 'win' in sys.platform:
py_bin = 'py.exe'
else:
Expand All @@ -76,15 +77,12 @@ def has_python_3():


class Py3Switch(LateTask):

"""Beg the user to switch to python 3."""

name = "switch to py3"

def gen_tasks(self):
"""Beg the user to switch to python 3."""


def give_warning():
if sys.version_info[0] == 3:
return
Expand Down

0 comments on commit 89e555b

Please sign in to comment.