Nir Soffer has posted comments on this change.

Change subject: utils: Remove duplicate set non-blocking functions
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.ovirt.org/#/c/29413/1/vdsm/storage/remoteFileHandler.py
File vdsm/storage/remoteFileHandler.py:

Line 232:                                              
env['PYTHONPATH'].split(":")))
Line 233:             self.process = CPopen([constants.EXT_PYTHON, __file__,
Line 234:                                   str(hisRead), str(hisWrite)],
Line 235:                                   close_fds=False, env=env)
Line 236: 
> the only user of misc.setNonBlocking is called on (myRead, myWrite), which 
+1  - even if it was used it is better that the caller does this.
Line 237:             self.proxy = CrabRPCProxy(myRead, myWrite)
Line 238: 
Line 239:         except:
Line 240:             os.close(myWrite)


-- 
To view, visit http://gerrit.ovirt.org/29413
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I1fd242e8b437e485e45127d083c35957ccecf577
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dima Kuznetsov <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Nir Soffer <[email protected]>
Gerrit-Reviewer: Piotr Kliczewski <[email protected]>
Gerrit-Reviewer: Saggi Mizrahi <[email protected]>
Gerrit-Reviewer: Yaniv Bronhaim <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to