Run custom user specific code, if available.
()
| 668 | |
| 669 | |
| 670 | def execusercustomize(): |
| 671 | """Run custom user specific code, if available.""" |
| 672 | try: |
| 673 | try: |
| 674 | import usercustomize # noqa: F401 |
| 675 | except ImportError as exc: |
| 676 | if exc.name == 'usercustomize': |
| 677 | pass |
| 678 | else: |
| 679 | raise |
| 680 | except Exception as err: |
| 681 | if sys.flags.verbose: |
| 682 | sys.excepthook(*sys.exc_info()) |
| 683 | else: |
| 684 | sys.stderr.write( |
| 685 | "Error in usercustomize; set PYTHONVERBOSE for traceback:\n" |
| 686 | "%s: %s\n" % |
| 687 | (err.__class__.__name__, err)) |
| 688 | |
| 689 | |
| 690 | def main(): |
no test coverage detected
searching dependent graphs…