10419:2fda68a9168d | 10420:5ac83a87954d |
---|---|
26 | 26 |
27 def exit(rcode=0): | 27 def exit(rcode=0): |
28 """ | 28 """ |
29 Exit the install script. | 29 Exit the install script. |
30 | 30 |
31 @param rcode result code to report back (integer) | 31 @param rcode result code to report back |
32 @type int | |
32 """ | 33 """ |
33 global currDir | 34 global currDir |
34 | 35 |
35 if sys.platform.startswith("win"): | 36 if sys.platform.startswith("win"): |
36 with contextlib.suppress(EOFError): | 37 with contextlib.suppress(EOFError): |