From 444c4638c21167e138e945f9b91d6afa9a72a63c Mon Sep 17 00:00:00 2001 From: "yi.wu" Date: Fri, 5 May 2017 22:54:50 +0800 Subject: [PATCH] update for pre-commit --- python/paddle/v2/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/paddle/v2/__init__.py b/python/paddle/v2/__init__.py index 7a9d3a73f4f..0942334ca2a 100644 --- a/python/paddle/v2/__init__.py +++ b/python/paddle/v2/__init__.py @@ -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(): -- GitLab