Skip to content

Commit

Permalink
removing the retweet checking because this is redundent, see previous…
Browse files Browse the repository at this point in the history
… version for details about why
  • Loading branch information
Brian Kirby authored and Brian Kirby committed Nov 16, 2014
1 parent e4cba12 commit 3ce8ccb
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tweetManip.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ def qualityControl(self):
self.replaceHashtag()
self.remove_at_symbol()
self.remove_urls()
if self.retweetCheck():
return False
if self.words_no_vowels():
return False
return True
Expand All @@ -49,13 +47,6 @@ def remove_at_symbol(self):
def remove_urls(self):
self.text = self.search_delete('http:', self.text)

def retweetCheck(self):
split_text = self.text
if re.search('RT',split_text[0]):
return True
else:
return False

def words_no_vowels(self):
string_split = self.text.split()
for i in range(len(string_split)):
Expand Down

0 comments on commit 3ce8ccb

Please sign in to comment.