Change in vdsm[master]: janitorial: drop unused storage.misc.getProcCtime

2017-06-03 Thread Code Review
From Dan Kenigsberg :

Dan Kenigsberg has submitted this change and it was merged.

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 
---
M lib/vdsm/storage/misc.py
1 file changed, 0 insertions(+), 11 deletions(-)

Approvals:
  Nir Soffer: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Dan Kenigsberg: Verified



-- 
To view, visit https://gerrit.ovirt.org/77738
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iaabc3ec4507ae3ca46c5a7f2aee130731ec2b1ca
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg 
Gerrit-Reviewer: Dan Kenigsberg 
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer 
Gerrit-Reviewer: gerrit-hooks 
___
vdsm-patches mailing list -- vdsm-patches@lists.fedorahosted.org
To unsubscribe send an email to vdsm-patches-le...@lists.fedorahosted.org


Change in vdsm[master]: janitorial: drop unused storage.misc.getProcCtime

2017-06-03 Thread Code Review
From Dan Kenigsberg :

Dan Kenigsberg has posted comments on this change.

Change subject: janitorial: drop unused storage.misc.getProcCtime
..


Patch Set 1: Verified+1

-- 
To view, visit https://gerrit.ovirt.org/77738
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Iaabc3ec4507ae3ca46c5a7f2aee130731ec2b1ca
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg 
Gerrit-Reviewer: Dan Kenigsberg 
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer 
Gerrit-Reviewer: gerrit-hooks 
Gerrit-HasComments: No
___
vdsm-patches mailing list -- vdsm-patches@lists.fedorahosted.org
To unsubscribe send an email to vdsm-patches-le...@lists.fedorahosted.org


Change in vdsm[master]: janitorial: drop unused storage.misc.getProcCtime

2017-06-03 Thread Code Review
From Dan Kenigsberg :

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 
---
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 
___
vdsm-patches mailing list -- vdsm-patches@lists.fedorahosted.org
To unsubscribe send an email to vdsm-patches-le...@lists.fedorahosted.org