Commit 68275276 authored by Frédéric Escudié's avatar Frédéric Escudié
Browse files

Add python3.2 management.

parent 3350d1af
...@@ -594,7 +594,10 @@ class Workflow(threading.Thread): ...@@ -594,7 +594,10 @@ class Workflow(threading.Thread):
""" """
odict = self.__dict__.copy() odict = self.__dict__.copy()
del odict['_started'] del odict['_started']
del odict['_tstate_lock'] if '_tstate_lock' in odict: # python 3.4
del odict['_tstate_lock']
else: # python 3.2
del odict['_block']
del odict['_stderr'] del odict['_stderr']
if 'external_components' in odict: if 'external_components' in odict:
del odict['external_components'] del odict['external_components']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment