Change in vdsm[master]: Added lib/vdsm/utils.py:touchFile

danken at redhat.com danken at redhat.com
Wed Nov 27 20:51:24 UTC 2013


Dan Kenigsberg has posted comments on this change.

Change subject: Added lib/vdsm/utils.py:touchFile
......................................................................


Patch Set 3: Code-Review+2

(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)
hear hear. ignoreExceptions=True of patch set 1 is against my (adopted) religion.
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