diff options
Diffstat (limited to 'pygithub3/core/utils.py')
-rw-r--r-- | pygithub3/core/utils.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pygithub3/core/utils.py b/pygithub3/core/utils.py index c6dbf0a..24a3bbf 100644 --- a/pygithub3/core/utils.py +++ b/pygithub3/core/utils.py @@ -2,6 +2,11 @@ # -*- encoding: utf-8 -*- """ Utils to support python 2.6 compatibility """ +try: + import simplejson as json +except ImportError: + import json + from collections import MutableMapping |