<s> import GafferImage <EOL> class __MultiSetPlug ( object ) : <EOL> def __init__ ( self , plugs ) : <EOL> self . _plugs = plugs <EOL> def setValue ( self , value ) : <EOL> for plug in self . _plugs : <EOL> plug . setValue ( value ) <EOL> def __imageWriterGetItem ( self , item ) : <EOL> if item == "<STR_LIT>" : <EOL> plugs = [ ] <EOL> plugs . append ( self [ '<STR_LIT>' ] [ '<STR_LIT>' ] ) <EOL> plugs . append ( self [ '<STR_LIT>' ] [ '<STR_LIT>' ] ) <EOL> plugs . append ( self [ '<STR_LIT>' ] [ '<STR_LIT>' ] ) <EOL> plugs . append ( self [ '<STR_LIT>' ] [ '<STR_LIT>' ] ) <EOL> return __MultiSetPlug ( plugs ) <EOL> else : <EOL> return self . __originalGetItem ( item ) <EOL> if not hasattr ( GafferImage . ImageWriter , "<STR_LIT>" ) : <EOL> GafferImage . ImageWriter . __originalGetItem = GafferImage . ImageWriter . __getitem__ <EOL> GafferImage . ImageWriter . __getitem__ = __imageWriterGetItem </s>
