The synaps.compat.flagfile Module

handle_flagfiles(args, tempdir=None)

Replace –flagfile arguments with –config-file arguments.

Replace any –flagfile argument in the supplied list with a –config-file argument containing a temporary config file with the contents of the flag file translated to .ini format.

The tempdir argument is a directory which will be used to create temporary files.

handle_flagfiles_managed(*args, **kwds)

A context manager for handle_flagfiles() which removes temp files.

For use with the ‘with’ statement, i.e.

Previous topic

The synaps.common.memorycache Module

Next topic

The synaps.context Module

This Page