# HG changeset patch # User Jeff Hammel # Date 1308332451 25200 # Node ID 23be092e6099ff798e4ebb2705894b9c04bc1152 # Parent 00266c7a7c3ccc4a4fa1ec9de9e6c9cf855dc5d4 make this executable diff -r 00266c7a7c3c -r 23be092e6099 urlmatch.py --- a/urlmatch.py Fri Jun 17 10:39:37 2011 -0700 +++ b/urlmatch.py Fri Jun 17 10:40:51 2011 -0700 @@ -1,6 +1,9 @@ +#!/usr/bin/env python + import urlparse class UrlMatcher(object): + """match urls""" def __init__(self, *urls): match_order=('domain', 'scheme', 'path')