Changeset 679 for confluence
- Timestamp:
- 11/04/09 14:50:17 (9 months ago)
- Files:
-
- 1 modified
-
confluence/emailfilters/twitterbouncer.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
confluence/emailfilters/twitterbouncer.py
r678 r679 24 24 # number of followed users below which ratio is not enforced 25 25 FOLLOW_RATIO_GRACE = 30 26 # number of followed users below which tweet minimum is not enforced 27 MIN_TWEET_GRACE = 50 26 28 # maximum number of followed people permitted, in decreasing levels of rating severity 27 29 MAX_FOLLOWING_WTF = 900 … … 78 80 bad_score += 5 79 81 80 if tweets < MIN_TWEETS_WTF: 81 bad_score += 15 82 elif tweets < MIN_TWEETS_HARD: 83 bad_score += 10 82 if following > MIN_TWEET_GRACE: 83 if tweets < MIN_TWEETS_WTF: 84 bad_score += 15 85 elif tweets < MIN_TWEETS_HARD: 86 bad_score += 10 84 87 85 88 print bad_score
