def set_configurator(previously, now):
 if (not now):
  return previously
 if previously:
  if (previously != now):
   msg = 'Too many flags setting configurators/installers/authenticators {0} -> {1}'
   raise errors.PluginSelectionError(msg.format(repr(previously), repr(now)))
 return now

def set_configurator ( previously , now ) : if ( not now ) : return previously if previously : if ( previously != now ) : msg = 'Too many flags setting configurators/installers/authenticators {0} -> {1}' raise errors . PluginSelectionError ( msg . format ( repr ( previously ) , repr ( now ) ) ) return now
setting configurators multiple ways is okay .