File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -168,8 +168,8 @@ example, if the Oracle Instant Client Libraries are in
168168 cx_Oracle.init_oracle_client(lib_dir = lib_dir)
169169 except Exception as err:
170170 print (" Whoops!" )
171- print (err);
172- sys.exit(1 );
171+ print (err)
172+ sys.exit(1 )
173173
174174 Note the use of a 'raw' string ``r"..." `` on Windows so that backslashes are
175175treated as directory separators.
@@ -220,8 +220,8 @@ you can call :meth:`cx_Oracle.init_oracle_client()`:
220220 cx_Oracle.init_oracle_client(config_dir = " /etc/my-oracle-config" )
221221 except Exception as err:
222222 print (" Whoops!" )
223- print (err);
224- sys.exit(1 );
223+ print (err)
224+ sys.exit(1 )
225225
226226 This is equivalent to setting the environment variable `TNS_ADMIN
227227<https://www.oracle.com/pls/topic/lookup?ctx=dblatest&id=GUID-12C94B15-2CE1-4B98-9D0C-8226A9DDF4CB> `__
@@ -393,8 +393,8 @@ parameters is:
393393 error_url = " https://example.com/MyInstallInstructions.html" )
394394 except Exception as err:
395395 print (" Whoops!" )
396- print (err);
397- sys.exit(1 );
396+ print (err)
397+ sys.exit(1 )
398398
399399 The convention for ``driver_name `` is to separate the product name from the
400400product version by a colon and single blank characters. The value will be shown
You can’t perform that action at this time.
0 commit comments