Change in vdsm[master]: Standardize fileUtils.DirectFile behavior

danken at redhat.com danken at redhat.com
Thu Aug 4 19:49:17 UTC 2011


Dan Kenigsberg has submitted this change and it was merged.

Change subject: Standardize fileUtils.DirectFile behavior
......................................................................


Standardize fileUtils.DirectFile behavior

According to python documentation:

  The most commonly-used values of mode are 'r' for reading,
  'w' for writing (truncating the file if it already exists),
  and 'a' for appending. Modes 'r+', 'w+' and 'a+' open the
  file for updating (note that 'w+' truncates the file).

Change-Id: Icff48ec55c626c325bc58d11f30d53b68637e0ae
---
M vdsm/storage/fileUtils.py
1 file changed, 5 insertions(+), 3 deletions(-)

Approvals:
  Dan Kenigsberg: Verified; Looks good to me, approved


--
To view, visit http://gerrit.usersys.redhat.com/790
To unsubscribe, visit http://gerrit.usersys.redhat.com/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icff48ec55c626c325bc58d11f30d53b68637e0ae
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>


More information about the vdsm-patches mailing list