[node-patches] Change in ovirt-node[master]: valid: Fix Text validator

fabiand at fedoraproject.org fabiand at fedoraproject.org
Thu Jun 20 17:59:32 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: valid: Fix Text validator
......................................................................

valid: Fix Text validator

Needs to call the super constructor.

Change-Id: I4532ddc959821679677ccba13cba16ffa6791412
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/valid.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/66/15966/1

diff --git a/src/ovirt/node/valid.py b/src/ovirt/node/valid.py
index d9928b0..4975523 100644
--- a/src/ovirt/node/valid.py
+++ b/src/ovirt/node/valid.py
@@ -173,6 +173,7 @@
     pattern = ".*"
 
     def __init__(self, min_length=0):
+        super(RegexValidator, self).__init__()
         if min_length > 0:
             self.pattern = ".{%d}" % min_length
             self.description += " (min. %d chars)" % min_length


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4532ddc959821679677ccba13cba16ffa6791412
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list