7835:0835ed67714b | 7836:2f0d208b8137 |
---|---|
497 incFile = "" | 497 incFile = "" |
498 if os.path.exists(incFile): | 498 if os.path.exists(incFile): |
499 try: | 499 try: |
500 with open(incFile, "r") as f: | 500 with open(incFile, "r") as f: |
501 incTxt = f.read() | 501 incTxt = f.read() |
502 except (IOError, OSError): | 502 except OSError: |
503 # remove SSI include | 503 # remove SSI include |
504 incTxt = "" | 504 incTxt = "" |
505 else: | 505 else: |
506 # remove SSI include | 506 # remove SSI include |
507 incTxt = "" | 507 incTxt = "" |