Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6e55a18

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎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)

AltStyle によって変換されたページ (->オリジナル) /