Hi,

PFA minor patch for psycopg2

Issue fixed: cast password to string before returning serverManager
as_dict()


-- 
*Harshal Dhumal*
*Software Engineer *



EenterpriseDB <http://www.enterprisedb.com>
diff --git a/web/pgadmin/utils/driver/psycopg2/__init__.py b/web/pgadmin/utils/driver/psycopg2/__init__.py
index 208b52f..6ea828d 100644
--- a/web/pgadmin/utils/driver/psycopg2/__init__.py
+++ b/web/pgadmin/utils/driver/psycopg2/__init__.py
@@ -1047,7 +1047,7 @@ class ServerManager(object):
 
         res = dict()
         res['sid'] = self.sid
-        res['password'] = self.password
+        res['password'] = str(self.password)
 
         connections = res['connections'] = dict()
 
-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers

Reply via email to