Skip to content

Commit 6e55a18

Browse files
authored
Merge pull request selwin#81 from el-gringo/master
Made it compatible python 2.6
2 parents dbaf68d + b6d1e5d commit 6e55a18

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)