It's not possible to use the _HOST config key with port numbers included because the host and port values are being concatenated.
This is particularly problematic when using several seeds to connect to a replicaset:
The better way to do this is to pass the port number to the pymongo connection class (mongoclient or mongoreplicaset client) and leave pymongo to decide on whether to use the port
changed init to pass the port to the connnection class rather than tr…
…ying to append it to the host value. Resolves issue #46. Added a test for this behaviour.
fix for issue #46 where port number was being concatenated with the h…
added test for above condition
Added pyc files to the gitignore file
Closed in #49