# do other non-extension-related tests here if basename.find( "Makefile" ) != -1: return "text/x-makefile"
I believe this can be nicelier written as:
if "Makefile" in basename:
+1 for "nicelier" as VOTW (Vocabulation of the week) =)
Steve -- http://mail.python.org/mailman/listinfo/python-list