changeset 20:272e10163900

minor fixes
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 24 Nov 2011 15:01:16 -0800
parents 73e815e13914
children 80193ae99aaf
files licenser/licenses.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)