Removed passwords :)
authorSelena Deckelmann <selena@endpoint.com>
Tue, 18 Aug 2009 16:39:24 +0000 (10:39 -0600)
committerSelena Deckelmann <selena@endpoint.com>
Tue, 18 Aug 2009 16:39:24 +0000 (10:39 -0600)
posttotwitter.py

index effbb4e76927972017eb078c13f4eff387ddda2a..172f2c7c5f022a36242d742b8a87adad70458b2f 100755 (executable)
@@ -77,6 +77,7 @@ if __name__ == "__main__":
        # run it like python rss2twitter.py oi.dat (oi.dat is the posted item db)
        # update username and passwd with your twitter account data, surrounding them with quotes.
        url="http://planet.postgresql.org/rss20_short.xml"
-       r2t=RSS2Twitter(sys.argv[1], url, 'planetpostgres', 'pl4n3t.pg')
+       ## Third and fourth args are username and password for twitter
+       r2t=RSS2Twitter(sys.argv[1], url, '', '')
        its=r2t.getLatestFeedItems()
        r2t.twitIt(its)