#NEWLINE# def slugify( self , tag , i = None ) : #NEWLINE# #INDENT# slug = ( 'category-%s' % tag . lower ( ) ) #NEWLINE# if ( slug is not None ) : #NEWLINE# #INDENT# slug += ( '-%d' % i ) #NEWLINE# #UNINDENT# return slug