jssjr/varnish-graphite — pull request #1 by the-cocytus (2013-08-06 20:55:07+00:00)
Title: Update to fix issue custom port specifications

This change was needed to fix an issue I bumped into when specifying a port number:

./varnish-graphite -H 172.22.0.10 -p 2003
Traceback (most recent call last):
File "./varnish-graphite", line 145, in
main()
File "./varnish-graphite", line 132, in main
c = GraphiteClient(args.host, args.port, args.prefix, args.buffer_size, args.max_buffer_size)
File "./varnish-graphite", line 27, in __init__
self.connect()
File "./varnish-graphite", line 37, in connect
self.sock.connect((self.host, self.port))
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
TypeError: an integer is required