Skip to content

Commit

Permalink
Made it compatible python 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
BOSSE Christophe committed Jul 7, 2017
1 parent dbaf68d commit b6d1e5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user_agents/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
'Kindle Fire',
)

EMAIL_PROGRAM_FAMILIES = {
EMAIL_PROGRAM_FAMILIES = set((
'Outlook',
'Windows Live Mail',
'AirMail',
Expand All @@ -82,7 +82,7 @@
'MailBar',
'kmail2',
'YahooMobileMail'
}
))

def verify_attribute(attribute):
if isinstance(attribute, string_types) and attribute.isdigit():
Expand Down

0 comments on commit b6d1e5d

Please sign in to comment.