mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
remove log messages as they don't work
This commit is contained in:
parent
8ef55c380e
commit
f562e8aff3
1 changed files with 0 additions and 4 deletions
|
@ -46,12 +46,10 @@ try:
|
||||||
import json
|
import json
|
||||||
except ImportError:
|
except ImportError:
|
||||||
import simplejson as json
|
import simplejson as json
|
||||||
log.info('Using simplejson for json converting')
|
|
||||||
|
|
||||||
# Do a little hack here just in case the user has json-py installed since it
|
# Do a little hack here just in case the user has json-py installed since it
|
||||||
# has a different api
|
# has a different api
|
||||||
if not hasattr(json, "dumps"):
|
if not hasattr(json, "dumps"):
|
||||||
log.info('Using python-json for json converting')
|
|
||||||
json.dumps = json.write
|
json.dumps = json.write
|
||||||
json.loads = json.read
|
json.loads = json.read
|
||||||
|
|
||||||
|
@ -63,8 +61,6 @@ if not hasattr(json, "dumps"):
|
||||||
|
|
||||||
json.dump = dump
|
json.dump = dump
|
||||||
json.load = load
|
json.load = load
|
||||||
else:
|
|
||||||
log.info('Using simplejson for json converting')
|
|
||||||
|
|
||||||
import pkg_resources
|
import pkg_resources
|
||||||
import xdg, xdg.BaseDirectory
|
import xdg, xdg.BaseDirectory
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue