Change in ovirt-engine[master]: packaging: setup: database: cast port to str

sbonazzo at redhat.com sbonazzo at redhat.com
Wed Feb 19 15:58:06 UTC 2014


Sandro Bonazzola has submitted this change and it was merged.

Change subject: packaging: setup: database: cast port to str
......................................................................


packaging: setup: database: cast port to str

old psycopg2 does not accept unicode string as port.

python-psycopg2-2.0.14-2.el6.x86_64

TypeError: port must be a string or int

*DO NOT* cast to int as usock will not work.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1067058
Change-Id: I51476e7a07ae6bf475415329873c96ddea638686
Signed-off-by: Alon Bar-Lev <alonbl at redhat.com>
---
M packaging/setup/ovirt_engine_setup/database.py
1 file changed, 6 insertions(+), 1 deletion(-)

Approvals:
  Alon Bar-Lev: Verified
  Sandro Bonazzola: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I51476e7a07ae6bf475415329873c96ddea638686
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>



More information about the Engine-commits mailing list