update for pre-commit

feature/design_of_v2_layer_converter
yi.wu 8 years ago
parent c1cb483a6c
commit 444c4638c2

@ -46,7 +46,8 @@ def init(**kwargs):
# NOTE: append arguments if they are in ENV
for ek, ev in os.environ.iteritems():
if ek.startswith("PADDLE_"):
args.append('--%s=%s' % (ek.replace("PADDLE_", "").lower(), str(ev)))
args.append('--%s=%s' % (ek.replace("PADDLE_", "").lower(),
str(ev)))
# NOTE: overwrite arguments from ENV if it is in kwargs
for key in kwargs.keys():

Loading…
Cancel
Save