tools/site_compare/command_line.py
def AddMutualDependency(self, args):
    """Specifies that a list of arguments are all mutually dependent."""
    if len(args) < 2:
      raise ValueError("At least two arguments must be specified.")

    args = [arg.lower() for arg in args]

    for (arg1, arg2) in [(arg1, arg2) for arg1 in args for arg2 in args]:
      if arg1 == arg2: continue
      self.arg_dict[arg1].AddDependency(self.arg_dict[arg2])
Specifies that a list of arguments are all mutually dependent.
Specifies that a list of arguments are all mutually dependent.
Specifies that a list of arguments are all mutually dependent .
def AddMutualDependency(self, args):
    if len(args) < 2:
      raise ValueError("At least two arguments must be specified.")
    args = [arg.lower() for arg in args]
    for (arg1, arg2) in [(arg1, arg2) for arg1 in args for arg2 in args]:
      if arg1 == arg2: continue
      self.arg_dict[arg1].AddDependency(self.arg_dict[arg2])
def AddMutualDependency ( self , args ) : if len ( args ) < 2 : raise ValueError ( "At least two arguments must be specified." ) args = [ arg . lower ( ) for arg in args ] for ( arg1 , arg2 ) in [ ( arg1 , arg2 ) for arg1 in args for arg2 in args ] : if arg1 == arg2 : continue self . arg_dict [ arg1 ] . AddDependency ( self . arg_dict [ arg2 ] )
Specifies that a list of arguments are all mutually dependent.
Specifies that a list of arguments are all mutually dependent .
"""Specifies that a list of arguments are all mutually dependent."""
self
args