Commits

Anonymous committed 0eb3469

fix: psycopg2 module doesn't appear to like commas in a dsn.

  • Participants
  • Parent commits 54923a8

Comments (0)

Files changed (1)

         for item in kwargs.items():
             if item[1]:  # not blank
                 dsn.append("%s='%s'" % item)
-        dsn = ','.join(dsn)
+        dsn = ' '.join(dsn)
         log.debug(self.module.__name__ + ':' + `kwargs`)
 
         conn = self.module.connect(dsn);