#NEWLINE# def get_ancestors_slugs( self ) : #NEWLINE# #INDENT# "return ancestors slugs including self as 1st item\n        >>> channel = Channel(long_slug='articles/technology/programming')\n        >>> channel.get_ancestors_slugs()\n        ['articles/technology/programming',\n         'articles/technology',\n         'articles']\n        " #NEWLINE# channel_list = [ ] #NEWLINE# channel_slugs = self . long_slug . split ( '/' ) #NEWLINE# while channel_slugs : #NEWLINE# #INDENT# channel_list . append ( '/' . join ( channel_slugs ) ) #NEWLINE# channel_slugs . pop ( ) #NEWLINE# #UNINDENT# return channel_slugs