grr/server/grr_response_server/flows/general/administrative.py
def GetDefaultArgs(cls, username=None):
    """Returns an args rdfvalue prefilled with sensible default values."""
    args = cls.args_type()
    try:
      args.email = "%s@%s" % (username, config.CONFIG.Get("Logging.domain"))
    except ValueError:
      # Just set no default if the email is not well-formed. Example: when
      # username contains '@' character.
      pass

    return args
Returns an args rdfvalue prefilled with sensible default values.
Returns an args rdfvalue prefilled with sensible default values.
Returns an args rdfvalue prefilled with sensible default values .
def GetDefaultArgs(cls, username=None):
    args = cls.args_type()
    try:
      args.email = "%s@%s" % (username, config.CONFIG.Get("Logging.domain"))
    except ValueError:
      pass
    return args
def GetDefaultArgs ( cls , username = None ) : args = cls . args_type ( ) try : args . email = "%s@%s" % ( username , config . CONFIG . Get ( "Logging.domain" ) ) except ValueError : pass return args
Returns an args rdfvalue prefilled with sensible default values.
Returns an args rdfvalue prefilled with sensible default values .
"""Returns an args rdfvalue prefilled with sensible default values.""" # Just set no default if the email is not well-formed. Example: when # username contains '@' character.
cls
username