From Dan Kenigsberg <dan...@redhat.com>: Dan Kenigsberg has uploaded a new change for review.
Change subject: janitorial: drop unused storage.misc.getProcCtime ...................................................................... janitorial: drop unused storage.misc.getProcCtime Should have been removed with commit bb50245. Change-Id: Iaabc3ec4507ae3ca46c5a7f2aee130731ec2b1ca Signed-off-by: Dan Kenigsberg <dan...@redhat.com> --- M lib/vdsm/storage/misc.py 1 file changed, 0 insertions(+), 11 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/38/77738/1 diff --git a/lib/vdsm/storage/misc.py b/lib/vdsm/storage/misc.py index d2499cd..da76a10 100644 --- a/lib/vdsm/storage/misc.py +++ b/lib/vdsm/storage/misc.py @@ -92,17 +92,6 @@ return True -def getProcCtime(pid): - try: - stats = os.stat(os.path.join('/proc', str(pid))) - ctime = stats.st_ctime - except OSError: - raise OSError(os.errno.ESRCH, - "Could not find process with pid %s" % pid) - - return str(ctime) - - def readblock(name, offset, size): ''' Read (direct IO) the content of device 'name' at offset, size bytes -- To view, visit https://gerrit.ovirt.org/77738 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iaabc3ec4507ae3ca46c5a7f2aee130731ec2b1ca Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Dan Kenigsberg <dan...@redhat.com> _______________________________________________ vdsm-patches mailing list -- vdsm-patches@lists.fedorahosted.org To unsubscribe send an email to vdsm-patches-le...@lists.fedorahosted.org