On Mon, 2015-03-16 at 14:00 -0500, Lindsay Haisley wrote:

On line 64 of the code
> _pat6 = re.compile('((:?[0-9a-f]{0,4}:{,1}){%s})' % (range6,))

"{%s}" should probably be "{,%s}" to avoid throwing an AttributeError
exception in the case that something such as the v6 localhost address
gets fed into the module.  It shouldn't, but graceful failure is a
virtue in coding.

-- 
Lindsay Haisley       | "UNIX is user-friendly, it just
FMP Computer Services |       chooses its friends."
512-259-1190          |          -- Andreas Bogk
http://www.fmp.com    |


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to