handle deprecation warning in python 3.8

This commit is contained in:
Martin Diehl 2019-11-21 19:47:27 +01:00
parent 7a7eea47b5
commit a5ae82fe90
2 changed files with 2 additions and 4 deletions

View File

@ -2,7 +2,7 @@ import os
import sys
import re
import shlex
from collections import Iterable
from collections.abc import Iterable
import numpy as np

View File

@ -1,10 +1,8 @@
# -*- coding: UTF-8 no BOM -*-
import os,sys,shutil
import logging,logging.config
import damask
import numpy as np
from collections import Iterable
from collections.abc import Iterable
from optparse import OptionParser
class Test():