# HG changeset patch # User Jeff Hammel # Date 1322175676 28800 # Node ID 272e10163900f9dcd0367855cbae410b0e20afb2 # Parent 73e815e13914aab15cfb49e6a585fc0713ebf0d1 minor fixes diff -r 73e815e13914 -r 272e10163900 licenser/licenses.py --- a/licenser/licenses.py Thu Nov 24 14:55:29 2011 -0800 +++ b/licenser/licenses.py Thu Nov 24 15:01:16 2011 -0800 @@ -49,6 +49,7 @@ @classmethod def match(cls, filename): basename, extension = os.path.splitext(os.path.basename(filename)) + extension = extension.lstrip('.') if extension in cls.extensions: return cls(filename)