changeset 5:da132a64926e

log output,kinda
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 25 Nov 2010 12:08:05 -0800
parents ed3c5f7ba348
children dfbb21128332
files bitsytweet/__init__.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/bitsytweet/__init__.py	Mon Jul 26 07:08:37 2010 -0700
+++ b/bitsytweet/__init__.py	Thu Nov 25 12:08:05 2010 -0800
@@ -16,7 +16,9 @@
   def __call__(self, blog_entry, url):
     if blog_entry.privacy == 'public': # only tweet public blogs
       tweet = '%s : %s' % (blog_entry.snippet(), url)
+      print 'Tweeting: %s' % tweet
       try:
         self.api.PostUpdate(tweet)
       except Exception, e:
         print >> sys.stderr, "Couldn't tweet %s (%s)" % (url, e)
+      print '</tweet>'