Skip to content
Permalink
Browse files

fix for Python 3.6

  • Loading branch information...
sdpython committed Apr 26, 2017
1 parent daf2182 commit b72045680dc18f1413b4ab5e4ad4f8e6a77d89d5
@@ -1,6 +1,6 @@

.. blogpost::
:title: Python 2.7 disconinued
:title: Python 2.7 discontinued
:keywords: Python 2.7
:date: 2017-01-01
:categories: release
@@ -2,7 +2,7 @@
.. blogpost::
:title: List of tools needed to build the documentation
:keywords: documentation, startup
:date: 2017-05-01
:date: 2017-04-27
:categories: installation

I have been setting up a couple of times
@@ -261,8 +261,7 @@ def run(self, params_list):
params_list), time_begin=datetime.now())
self._metadata = []
self._metadata.append(meta)
if sys.version_info[0] < 3:
nb_cached = 0
nb_cached = 0

# cache
def cache_():
@@ -282,9 +281,9 @@ def cache_():

# run
def run_(pgar):
if sys.version_info[0] == 2:
nb_cached = 0
nonlocal nb_cached
if sys.version_info[0] < 3:
nb_cached = 0
self._metrics = []
self._appendix = []

0 comments on commit b720456

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