Entropy/DistributionUGCInterface:

insert_youtube_video(): always set sabayon as keyword


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2600 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
lxnay
2008-10-31 21:07:30 +00:00
parent fbe14ed2ea
commit 71d8f2c3ed
+2 -3
View File
@@ -18328,9 +18328,8 @@ class DistributionUGCInterface(RemoteDbSkelInterface):
if yt_service == None:
return False, None
mykeywords = ', '.join([x.strip().strip(',') for x in keywords.split() if (x.strip() and x.strip(",") and (len(x.strip()) > 4))])
gd_keywords = None
if mykeywords: gd_keywords = self.gdata.media.Keywords(text = mykeywords)
mykeywords = ', '.join([x.strip().strip(',') for x in keywords.split()+["sabayon"] if (x.strip() and x.strip(",") and (len(x.strip()) > 4))])
gd_keywords = self.gdata.media.Keywords(text = mykeywords)
mydescription = "%s: %s" % (pkgkey,description,)
mytitle = "%s: %s" % (self.system_name,title,)