Exemplo n.º 1
0
	def __init__(self, url, name, pict_count, album_id, thumb, user):
		UrlLeaf.__init__(self, url, name)
		self.album_id = album_id
		self.thumb = thumb
		photos_info = ngettext("one photo", "%(num)s photos",
				int(pict_count)) % {"num": pict_count}
		self.description = ': '.join((user, photos_info))
Exemplo n.º 2
0
 def __init__(self, obj, title, desc):
     UrlLeaf.__init__(self, obj, title)
     self.description = desc
Exemplo n.º 3
0
	def __init__(self, url, name, thumb=None, albums=None):
		UrlLeaf.__init__(self, url, name)
		# list of user albums [PicasaAlbum]
		self.update_albums(albums)
		self.thumb = thumb
		self.my_albums = False
Exemplo n.º 4
0
 def __init__(self, obj, title, desc):
     UrlLeaf.__init__(self, obj, title)
     self.description = desc