Skip to content

Commit

Permalink
Renamed variable for clarity.
Browse files Browse the repository at this point in the history
  • Loading branch information
Merline Xavier committed Jan 8, 2013
1 parent b68fe1c commit fc455e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Ezhuthu.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,11 +222,11 @@ def get_vowel_type(letter = u''):
raise ValueError("Vowel or combination expected, but the letter \'%s\' is a %s" %(letter, Ezhuthu.get_letter_type(letter).title()))

# if letter is a combination, split out the vowel part
_, letter = Ezhuthu.split_combination(letter)
_, vowel = Ezhuthu.split_combination(letter)

# retrieve and return the vowel type
for vowel_type in Ezhuthu.VOWELS:
if letter in Ezhuthu.VOWELS[vowel_type]:
if vowel in Ezhuthu.VOWELS[vowel_type]:
return vowel_type

# if we got this far, an unknown error occurred
Expand Down

0 comments on commit fc455e5

Please sign in to comment.