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

skayser at users.sourceforge.net skayser at users.sourceforge.net
Wed Jan 11 23:11:39 CET 2012


Revision: 592
          http://opencsw.svn.sourceforge.net/opencsw/?rev=592&view=rev
Author:   skayser
Date:     2012-01-11 22:11:39 +0000 (Wed, 11 Jan 2012)
Log Message:
-----------
twitter/sweets: fix typo, add $Id$ keyword

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

Property Changed:
----------------
    twitter/sweets/sweets.py

Modified: twitter/sweets/sweets.py
===================================================================
--- twitter/sweets/sweets.py	2012-01-11 22:04:42 UTC (rev 591)
+++ twitter/sweets/sweets.py	2012-01-11 22:11:39 UTC (rev 592)
@@ -1,5 +1,7 @@
 #!/usr/bin/env python
 #
+# $Id$
+#
 # sweets.py:
 #   Search twitter with a search term and store results in a JSON file which
 #   can be used for further processing (e.g. to generate RSS)
@@ -119,7 +121,7 @@
             encoding = sys.stdout.encoding or 'utf-8'
             print msg.encode(encoding, 'replace')
 
-    def get_matchting_tweets(self, string):
+    def get_matching_tweets(self, string):
         """Get list of tweets where the tweet contains a given string."""
         for tweet in self.get_tweets():
             if tweet['text'].find(string) == -1: continue


Property changes on: twitter/sweets/sweets.py
___________________________________________________________________
Added: svn:keywords
   + Id

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