Method os.open() is forbidden
(*unused_args, **unused_kwargs)
| 94 | # atomically set in case of file creation, or invokes filesystem.chmod to properly set the |
| 95 | # permissions for the other cases. |
| 96 | def open(*unused_args, **unused_kwargs): # type: ignore |
| 97 | """Method os.open() is forbidden""" |
| 98 | raise RuntimeError('Usage of os.open() is forbidden. ' |
| 99 | 'Use certbot.compat.filesystem.open() instead.') |
| 100 | |
| 101 | |
| 102 | # Very similarly to os.open, os.mkdir has the same effects on Windows and creates an unsecured |
no outgoing calls