diff options
author | 2013-05-24 21:06:34 +0200 | |
---|---|---|
committer | 2013-05-24 21:06:34 +0200 | |
commit | ca43deb9769b4a6a9cfb7fbab7fb4d2256c2c403 (patch) | |
tree | e1527647682e6907ac8a0848e42dad68190f9813 /module/common/json_layer.py | |
parent | fixed loading of js files (diff) | |
download | pyload-ca43deb9769b4a6a9cfb7fbab7fb4d2256c2c403.tar.xz |
moved common to utils package
Diffstat (limited to 'module/common/json_layer.py')
-rw-r--r-- | module/common/json_layer.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/module/common/json_layer.py b/module/common/json_layer.py deleted file mode 100644 index 4d57a9f38..000000000 --- a/module/common/json_layer.py +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- - -# abstraction layer for json operations - -try: # since python 2.6 - import json - from json import loads as json_loads - from json import dumps as json_dumps -except ImportError: #use system simplejson if available - import simplejson as json - from simplejson import loads as json_loads - from simplejson import dumps as json_dumps |