Skip to content
Permalink
Browse files

docstrings

  • Loading branch information
ralsina committed Oct 3, 2015
1 parent 2304b49 commit 89e555bc24522844b4e8e1894966e1528b1688a7
Showing with 1 addition and 3 deletions.
  1. +1 −3 nikola/plugins/task/py3_switch.py
@@ -65,6 +65,7 @@


def has_python_3():
"""Check if python 3 is available."""
if 'win' in sys.platform:
py_bin = 'py.exe'
else:
@@ -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

0 comments on commit 89e555b

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