Revision bfbd12f7 lib/http/auth.py

b/lib/http/auth.py
310 310
    parts = line.split(None, 2)
311 311
    if len(parts) < 2:
312 312
      # Invalid line
313
      # TODO: Return line number from FilterEmptyLinesAndComments
314
      logging.warning("Ignoring non-comment line with less than two fields")
313 315
      continue
314 316

  
315 317
    name = parts[0]
......
320 322
    if len(parts) >= 3:
321 323
      for part in parts[2].split(","):
322 324
        options.append(part.strip())
325
    else:
326
      logging.warning("Ignoring values for user '%s': %s", name, parts[3:])
323 327

  
324 328
    users[name] = PasswordFileUser(name, password, options)
325 329

  

Also available in: Unified diff