Package schrodinger :: Package utils :: Module env :: Class swap_ld_library_path
[hide private]
[frames] | no frames]

Class swap_ld_library_path

                           object --+    
                                    |    
infra.util.DecoratorAndContextManager --+
                                        |
                                       swap_ld_library_path

Restore LD_LIBRARY_PATH to the value that it was when we first ran a toplevel script. ORIGINAL_LD_LIBRARY_PATH is set by toplevel.sh

Instance Methods [hide private]
 
__enter__(self)
Enter the context manager: must be defined in subclasses.
 
__exit__(self, *args)
Exit context manager: must be defined in subclasses.

Inherited from infra.util.DecoratorAndContextManager: __call__, decorate

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__enter__(self)

 

Enter the context manager: must be defined in subclasses.

Overrides: infra.util.DecoratorAndContextManager.__enter__
(inherited documentation)

__exit__(self, *args)

 

Exit context manager: must be defined in subclasses.

Exception handling arguments are required by context manager signature.

Overrides: infra.util.DecoratorAndContextManager.__exit__
(inherited documentation)