Change in vdsm[master]: utils: Making try block smaller in tobool()

2016-06-28 Thread nsoffer
Nir Soffer has posted comments on this change. Change subject: utils: Making try block smaller in tobool() .. Patch Set 1: (1 comment) https://gerrit.ovirt.org/#/c/57549/1/lib/vdsm/utils.py File lib/vdsm/utils.py: Line 417

Change in vdsm[master]: utils: Making try block smaller in tobool()

2016-05-18 Thread Tomas Golembiovsky
Tomas Golembiovsky has posted comments on this change. Change subject: utils: Making try block smaller in tobool() .. Patch Set 1: Based on the documentation I would say that 'type()' and 'isinstance()' is safe in our case. I

Change in vdsm[master]: utils: Making try block smaller in tobool()

2016-05-17 Thread mzamazal
Milan Zamazal has posted comments on this change. Change subject: utils: Making try block smaller in tobool() .. Patch Set 1: Code-Review-1 Martin is right, the additional restriction to ValueError is not safe. -- To view,

Change in vdsm[master]: utils: Making try block smaller in tobool()

2016-05-17 Thread mpolednik
Martin Polednik has posted comments on this change. Change subject: utils: Making try block smaller in tobool() .. Patch Set 1: -Code-Review Actually not 100% sure: valueError can't be (at this point) raised by a) basestring

Change in vdsm[master]: utils: Making try block smaller in tobool()

2016-05-17 Thread mpolednik
Martin Polednik has posted comments on this change. Change subject: utils: Making try block smaller in tobool() .. Patch Set 1: Code-Review+1 -- To view, visit https://gerrit.ovirt.org/57549 To unsubscribe, visit

Change in vdsm[master]: utils: Making try block smaller in tobool()

2016-05-17 Thread automation
gerrit-hooks has posted comments on this change. Change subject: utils: Making try block smaller in tobool() .. Patch Set 1: * Update tracker: IGNORE, no Bug-Url found * Check Bug-Url::WARN, no bug url found, make sure header

Change in vdsm[master]: utils: Making try block smaller in tobool()

2016-05-17 Thread Tomas Golembiovsky
Tomas Golembiovsky has uploaded a new change for review. Change subject: utils: Making try block smaller in tobool() .. utils: Making try block smaller in tobool() The try-except block was too broad and spanned unnecessarily