Skip to content

Commit b6d1e5d

Browse files
author
BOSSE Christophe
committed
Made it compatible python 2.6
1 parent dbaf68d commit b6d1e5d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎user_agents/parsers.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
'Kindle Fire',
6666
)
6767

68-
EMAIL_PROGRAM_FAMILIES = {
68+
EMAIL_PROGRAM_FAMILIES = set((
6969
'Outlook',
7070
'Windows Live Mail',
7171
'AirMail',
@@ -82,7 +82,7 @@
8282
'MailBar',
8383
'kmail2',
8484
'YahooMobileMail'
85-
}
85+
))
8686

8787
def verify_attribute(attribute):
8888
if isinstance(attribute, string_types) and attribute.isdigit():

0 commit comments

Comments
 (0)