Logo Search packages:      
Sourcecode: harvestman version File versions  Download package

def HarvestMan::urlparser::HarvestManUrlParser::is_stylesheet (   self  ) 

Find out whether the url is a style sheet type 

Definition at line 495 of file urlparser.py.

00495                            :
        """ Find out whether the url is a style sheet type """

        if self.typ == 'stylesheet':
            return True
        elif self.typ == 'normal':
            if self.validfilename:
                extn = ((os.path.splitext(self.validfilename))[1]).lower()
                if extn in self.stylesheet_extns:
                    return True
             
        return False


Generated by  Doxygen 1.6.0   Back to index