From a34e94f1051d9653b47d9ad78329f44ee7c06740 Mon Sep 17 00:00:00 2001 From: Marcelo Taube Date: Fri, 23 Jun 2017 16:33:45 +0300 Subject: [PATCH] Fix ivy_show to call the functions that moved to ivy_init module --- ivy/ivy_show.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ivy/ivy_show.py b/ivy/ivy_show.py index f75dd8f2c..ac4768a8b 100644 --- a/ivy/ivy_show.py +++ b/ivy/ivy_show.py @@ -2,6 +2,7 @@ # Copyright (c) Microsoft Corporation. All Rights Reserved. # import ivy +import ivy_init import ivy_interp as itp import ivy_actions as act import ivy_utils as utl @@ -35,13 +36,13 @@ def check_module(): def main(): - ivy.read_params() + ivy_init.read_params() iu.set_parameters({'show_compiled':'true'}) if len(sys.argv) != 2 or not sys.argv[1].endswith('ivy'): usage() with im.Module(): with utl.ErrorPrinter(): - ivy.source_file(sys.argv[1],ivy.open_read(sys.argv[1]),create_isolate=False) + ivy_init.source_file(sys.argv[1],ivy_init.open_read(sys.argv[1]),create_isolate=False) check_module()