File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -55,8 +55,7 @@ def install(version=None, packages=None):
5555 scripts_path = compas_rhino ._get_scripts_path (version )
5656
5757 print ('Installing COMPAS packages to Rhino {0} scripts folder:' .format (version ))
58- print ('Location scripts folder: {}' .format (scripts_path ))
59- print ()
58+ print ('{}\n ' .format (scripts_path ))
6059
6160 results = []
6261 symlinks_to_install = []
@@ -125,9 +124,7 @@ def install(version=None, packages=None):
125124 exit_code = - 1
126125
127126 if exit_code == 0 and len (installed_packages ):
128- print ()
129- print ('Running post-installation steps...' )
130- print ()
127+ print ('\n Running post-installation steps...\n ' )
131128 if not _run_post_execution_steps (after_rhino_install (installed_packages )):
132129 exit_code = - 1
133130
@@ -156,9 +153,7 @@ def _run_post_execution_steps(steps_generator):
156153 post_execution_errors .append (ValueError ('Step ran without errors but result is wrongly formatted: {}' .format (str (item ))))
157154
158155 if post_execution_errors :
159- print ()
160- print ('One or more errors occurred:' )
161- print ()
156+ print ('\n One or more errors occurred:\n ' )
162157 for error in post_execution_errors :
163158 print (' - {}' .format (repr (error )))
164159
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ def uninstall(version=None, packages=None):
107107 if not compas_rhino ._try_remove_bootstrapper (ipylib_path ):
108108 results .append (('compas_bootstrapper' , 'ERROR: Cannot remove legacy compas_bootstrapper, try to run as administrator.' ))
109109
110- print ('\n The following packages have been detected and will be uninstalled:' )
110+ print ('\n The following packages have been detected and will be uninstalled:\n ' )
111111
112112 for package , status in results :
113113 print (' {} {}' .format (package .ljust (20 ), status ))
@@ -116,7 +116,7 @@ def uninstall(version=None, packages=None):
116116 exit_code = - 1
117117
118118 if exit_code == 0 and uninstalled_packages :
119- print ('\n Running post-uninstallation steps...' )
119+ print ('\n Running post-uninstallation steps...\n ' )
120120
121121 if not _run_post_execution_steps (after_rhino_uninstall (uninstalled_packages )):
122122 exit_code = - 1
You can’t perform that action at this time.
0 commit comments