[node-patches] Change in ovirt-node[master]: confirmation_page: Do not compare strings and numbers
fabiand at redhat.com
fabiand at redhat.com
Thu Jul 2 19:00:37 UTC 2015
Fabian Deutsch has posted comments on this change.
Change subject: confirmation_page: Do not compare strings and numbers
......................................................................
Patch Set 1:
(1 comment)
https://gerrit.ovirt.org/#/c/43174/1/src/ovirt/node/installer/core/confirmation_page.py
File src/ovirt/node/installer/core/confirmation_page.py:
Line 91: ))
Line 92: row = ui.Row("row[%s]" % xs, chi)
Line 93: ws.append(row)
Line 94:
Line 95: dsize = int(re.sub('[^0-9]', '', self._model["storage.data_size"]))
How can it happen that there are other than 0-9 chars?
Line 96: if dsize < (50*1024):
Line 97: ws.extend([ui.Divider("divider.he"),
Line 98: ui.Notice("notice.he", "The size of the data volume is "
Line 99: "not large enough to use the Engine "
--
To view, visit https://gerrit.ovirt.org/43174
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I700a4aed2f7c11cb5081377d65bc622e0a5e1f32
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>
Gerrit-Reviewer: Douglas Schilling Landgraf <dougsland at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-HasComments: Yes
More information about the node-patches
mailing list