projects
/
hamn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07947b1
)
Remove @ signs from twitter names
author
Magnus Hagander
<magnus@hagander.net>
Thu, 18 Aug 2011 16:16:55 +0000
(18:16 +0200)
committer
Magnus Hagander
<magnus@hagander.net>
Thu, 18 Aug 2011 16:16:55 +0000
(18:16 +0200)
synctwitter.py
patch
|
blob
|
blame
|
history
diff --git
a/synctwitter.py
b/synctwitter.py
index 7fa0e3c0372beca77b27b99cb5fd38b69e57fef2..32823f239b748e4ee281e26749eabbc3347bb3c1 100755
(executable)
--- a/
synctwitter.py
+++ b/
synctwitter.py
@@
-24,7
+24,7
@@
class SyncTwitter(TwitterClient):
# Get list of handles that should be on the list
curs = self.db.cursor()
curs.execute("SELECT DISTINCT twitteruser FROM planet.feeds WHERE NOT (twitteruser IS NULL OR twitteruser='') ORDER BY twitteruser");
- expected = set([r[0] for r in curs.fetchall()])
+ expected = set([r[0]
.replace('@','')
for r in curs.fetchall()])
# Get list of current screen names the list is following
current = set(self.list_subscribers())