projects
/
hamn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5eebb72
)
Removed passwords :)
author
Selena Deckelmann
<selena@endpoint.com>
Tue, 18 Aug 2009 16:39:24 +0000
(10:39 -0600)
committer
Selena Deckelmann
<selena@endpoint.com>
Tue, 18 Aug 2009 16:39:24 +0000
(10:39 -0600)
posttotwitter.py
patch
|
blob
|
blame
|
history
diff --git
a/posttotwitter.py
b/posttotwitter.py
index effbb4e76927972017eb078c13f4eff387ddda2a..172f2c7c5f022a36242d742b8a87adad70458b2f 100755
(executable)
--- a/
posttotwitter.py
+++ b/
posttotwitter.py
@@
-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)