We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36c04d1 commit 25990c5Copy full SHA for 25990c5
schema_salad/__init__.py
@@ -3,14 +3,16 @@
3
import os
4
import sys
5
import typing
6
+
7
+import six
8
9
from .utils import onWindows
10
__author__ = '[email protected]'
11
12
_logger = logging.getLogger("salad")
13
_logger.addHandler(logging.StreamHandler())
14
_logger.setLevel(logging.INFO)
15
-import six
16
if six.PY3:
17
18
if onWindows:
@@ -20,8 +22,9 @@
20
22
try:
21
23
os.makedirs("/tmp")
24
except OSError as exception:
- print("Cannot create '\\tmp' folder needed for",
- "'cwltool' Python 3 installation.")
25
+ _logger.error(u"Cannot create '\\tmp' folder in root needed for",
26
+ "'cwltool' Python 3 installation.")
27
+ exit(1)
28
29
from past import autotranslate # type: ignore
30
autotranslate(['avro', 'avro.schema'])
0 commit comments