Commits

Kirill Simonov  committed 62931d1

Fixed a problem when DB uri does not accept an explicit port.

  • Participants
  • Parent commits 817ba10

Comments (0)

Files changed (1)

File src/htsql/util.py

         assert isinstance(username, maybe(str))
         assert isinstance(password, maybe(str))
         assert isinstance(host, maybe(str))
-        assert isinstance(port, maybe(str))
+        assert isinstance(port, maybe(int))
         assert isinstance(database, str)
         assert isinstance(options, maybe(dictof(str, str)))