Skip to content

Commit

Permalink
fix py2.6 formatting error
Browse files Browse the repository at this point in the history
  • Loading branch information
wjo1212 committed Nov 20, 2018
1 parent 68188f7 commit cb268b2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions aliyun/log/etl_core/config_parser.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import ast
import inspect
import logging
import re
import six
from collections import Callable
from .settings import TransFnType, check_fn_type_by_name, builtin_macros
from functools import wraps
import inspect
import os

logger = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion aliyun/log/etl_core/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import copy
import inspect
import logging
logger = logging.getLogger(__name__)
from .exceptions import SettingError
logger = logging.getLogger(__name__)


class Runner(object):
Expand Down
2 changes: 1 addition & 1 deletion aliyun/log/etl_core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
'TRANSFORM_EVENT_']

for key in builtin_macros.keys():
globals()[key[:-2]] = "Use this prefix to auto call the function: {}".format(builtin_macros[key])
globals()[key[:-2]] = "Use this prefix to auto call the function: {0}".format(builtin_macros[key])


class TransFnType(Enum):
Expand Down

0 comments on commit cb268b2

Please sign in to comment.