Change in vdsm[master]: Added lib/vdsm/utils.py:touchFile
asegurap at redhat.com
asegurap at redhat.com
Wed Nov 27 19:24:53 UTC 2013
Antoni Segura Puimedon has posted comments on this change.
Change subject: Added lib/vdsm/utils.py:touchFile
......................................................................
Patch Set 3: Code-Review+1
(1 comment)
....................................................
File lib/vdsm/utils.py
Line 110: updated to the current time. Otherwise, the file is created.
Line 111: :param filePath: The file to touch
Line 112: """
Line 113: with open(filePath, 'a'):
Line 114: os.utime(filePath, None)
That should be, as it is, propagated for the caller to handle.
Line 115:
Line 116:
Line 117: def rmFile(fileToRemove):
Line 118: """
--
To view, visit http://gerrit.ovirt.org/21590
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifbbea57c425adc8b911bb9e1931c02edb71db820
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Assaf Muller <amuller at redhat.com>
Gerrit-Reviewer: Antoni Segura Puimedon <asegurap at redhat.com>
Gerrit-Reviewer: Assaf Muller <amuller at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi at redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
More information about the vdsm-patches
mailing list