Revision abd66bf8 lib/cmdlib.py

b/lib/cmdlib.py
11694 11694
  constants.QR_OS: _OsQuery,
11695 11695
  }
11696 11696

  
11697
assert set(_QUERY_IMPL.keys()) == constants.QR_OP_QUERY
11697
assert set(_QUERY_IMPL.keys()) == constants.QR_VIA_OP
11698 11698

  
11699 11699

  
11700 11700
def _GetQueryImplementation(name):
11701 11701
  """Returns the implemtnation for a query type.
11702 11702

  
11703
  @param name: Query type, must be one of L{constants.QR_OP_QUERY}
11703
  @param name: Query type, must be one of L{constants.QR_VIA_OP}
11704 11704

  
11705 11705
  """
11706 11706
  try:

Also available in: Unified diff