Skip to content

Commit

Permalink
Merge pull request lantip#6 from aprilahijriyan/main
Browse files Browse the repository at this point in the history
fix: remove unused statement
  • Loading branch information
lantip authored Jun 13, 2021
2 parents 8015ddc + 6a35c7f commit b206145
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions sawa/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,6 @@ def change_keyword(self) -> bool:
# If the token matches any python keywords it replaces that keywords
if self.token in self.keyword_dict.keys():
self.token = self.keyword_dict[self.token]
if self.token == 'from' or self.token == 'import':
pass
elif self.token == 'if' or self.token == 'elif' or self.token == 'else' or self.token == 'while' or self.token == 'for':
pass
elif self.token == 'def' or self.token == 'lamda':
pass
elif self.token == 'class':
pass
return True

# If nothing matches it returns token as it
Expand Down

0 comments on commit b206145

Please sign in to comment.