Revision 69efe319

b/lib/utils.py
1215 1215
  mtime/atime of the file.
1216 1216

  
1217 1217
  If the function doesn't raise an exception, it has succeeded and the
1218
  target file has the new contents. If the file has raised an
1218
  target file has the new contents. If the function has raised an
1219 1219
  exception, an existing target file should be unmodified and the
1220 1220
  temporary file should be removed.
1221 1221

  
......
1224 1224
  @type fn: callable
1225 1225
  @param fn: content writing function, called with
1226 1226
      file descriptor as parameter
1227
  @type data: sr
1227
  @type data: str
1228 1228
  @param data: contents of the file
1229 1229
  @type mode: int
1230 1230
  @param mode: file mode
......
1247 1247
  @return: None if the 'close' parameter evaluates to True,
1248 1248
      otherwise the file descriptor
1249 1249

  
1250
  @raise errors.ProgrammerError: if an of the arguments are not valid
1250
  @raise errors.ProgrammerError: if any of the arguments are not valid
1251 1251

  
1252 1252
  """
1253 1253
  if not os.path.isabs(file_name):

Also available in: Unified diff