[csw-devel] SF.net SVN: opencsw:[584] twitter/sweets/sweets2feed.py

skayser at users.sourceforge.net skayser at users.sourceforge.net
Thu Oct 27 23:28:22 CEST 2011


Revision: 584
          http://opencsw.svn.sourceforge.net/opencsw/?rev=584&view=rev
Author:   skayser
Date:     2011-10-27 21:28:22 +0000 (Thu, 27 Oct 2011)
Log Message:
-----------
twitter/sweets: remove redundant author info from feed item title

Modified Paths:
--------------
    twitter/sweets/sweets2feed.py

Modified: twitter/sweets/sweets2feed.py
===================================================================
--- twitter/sweets/sweets2feed.py	2011-10-27 21:01:16 UTC (rev 583)
+++ twitter/sweets/sweets2feed.py	2011-10-27 21:28:22 UTC (rev 584)
@@ -19,7 +19,7 @@
 
 def tweet_to_feeditem(tweet):
     """Convert a tweet into a feed item."""
-    title = "%s: %s" % (tweet['from_user'], tweet['text'])
+    title = tweet['text'])
     url = "http://twitter.com/#!/%s/status/%s" % (
             tweet['from_user'],
             tweet['id_str'])

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list