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

iheim at redhat.com iheim at redhat.com
Wed Feb 19 19:44:16 UTC 2014


Itamar Heim 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/24790
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I51476e7a07ae6bf475415329873c96ddea638686
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.4
Gerrit-Owner: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Itamar Heim <iheim at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list