Split utils.py
This commit is contained in:
parent
f25543c391
commit
58f71787ed
|
@ -6,11 +6,10 @@
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
import os
|
import os
|
||||||
import sys
|
|
||||||
import json
|
import json
|
||||||
import odoorpc # pip install odoorpc
|
import odoorpc # pip install odoorpc
|
||||||
#from typing import Iterable # > py38
|
#from typing import Iterable # > py38
|
||||||
from collections import Iterable # < py38
|
# from collections import Iterable # < py38
|
||||||
|
|
||||||
from utils import *
|
from utils import *
|
||||||
from renderers import render, tsv
|
from renderers import render, tsv
|
||||||
|
|
8
utils.py
8
utils.py
|
@ -1,10 +1,7 @@
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
import os
|
import os
|
||||||
# import sys
|
import sys
|
||||||
import json
|
import json
|
||||||
# import odoorpc # pip install odoorpc
|
|
||||||
# #from typing import Iterable # > py38
|
|
||||||
# from collections import Iterable # < py38
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,6 +9,9 @@ def eprint(*args, **kwargs):
|
||||||
print(*args, file=sys.stderr, **kwargs)
|
print(*args, file=sys.stderr, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
|
# #from typing import Iterable # > py38
|
||||||
|
# from collections import Iterable # < py38
|
||||||
|
|
||||||
# def flatten(items):
|
# def flatten(items):
|
||||||
# """Yield items from any nested iterable; see Reference."""
|
# """Yield items from any nested iterable; see Reference."""
|
||||||
# for x in items:
|
# for x in items:
|
||||||
|
|
Loading…
Reference in New Issue