From 95535ec9a826752bf60d4fa79052c23bb33ca560 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Thu, 17 Mar 2016 11:18:59 +0100 Subject: [PATCH] Remove dump xml to log --- resources/lib/itemtypes.py | 42 -------------------------------------- 1 file changed, 42 deletions(-) diff --git a/resources/lib/itemtypes.py b/resources/lib/itemtypes.py index 0b94813c..74e7cf5f 100644 --- a/resources/lib/itemtypes.py +++ b/resources/lib/itemtypes.py @@ -297,12 +297,6 @@ class Movies(Items): self.logMsg(e, -1) import traceback self.logMsg("Traceback:\n%s" % traceback.format_exc(), 0) - self.logMsg('The item xml is:', -1) - try: - import xml.etree.cElementTree as etree - except ImportError: - import xml.etree.ElementTree as etree - etree.dump(item) utils.window('plex_scancrashed', value='true') # skip this item for now return @@ -928,12 +922,6 @@ class TVShows(Items): self.logMsg(e, -1) import traceback self.logMsg("Traceback:\n%s" % traceback.format_exc(), 0) - self.logMsg('The item xml is:', -1) - try: - import xml.etree.cElementTree as etree - except ImportError: - import xml.etree.ElementTree as etree - etree.dump(item) utils.window('plex_scancrashed', value='true') # skip this item for now return @@ -1127,12 +1115,6 @@ class TVShows(Items): self.logMsg(e, -1) import traceback self.logMsg("Traceback:\n%s" % traceback.format_exc(), 0) - self.logMsg('The item xml is:', -1) - try: - import xml.etree.cElementTree as etree - except ImportError: - import xml.etree.ElementTree as etree - etree.dump(item) utils.window('plex_scancrashed', value='true') # skip this item for now return @@ -1190,12 +1172,6 @@ class TVShows(Items): self.logMsg(e, -1) import traceback self.logMsg("Traceback:\n%s" % traceback.format_exc(), 0) - self.logMsg('The item xml is:', -1) - try: - import xml.etree.cElementTree as etree - except ImportError: - import xml.etree.ElementTree as etree - etree.dump(item) utils.window('plex_scancrashed', value='true') # skip this item for now return @@ -1686,12 +1662,6 @@ class Music(Items): self.logMsg(e, -1) import traceback self.logMsg("Traceback:\n%s" % traceback.format_exc(), 0) - self.logMsg('The item xml is:', -1) - try: - import xml.etree.cElementTree as etree - except ImportError: - import xml.etree.ElementTree as etree - etree.dump(item) utils.window('plex_scancrashed', value='true') # skip this item for now return @@ -1789,12 +1759,6 @@ class Music(Items): self.logMsg(e, -1) import traceback self.logMsg("Traceback:\n%s" % traceback.format_exc(), 0) - self.logMsg('The item xml is:', -1) - try: - import xml.etree.cElementTree as etree - except ImportError: - import xml.etree.ElementTree as etree - etree.dump(item) utils.window('plex_scancrashed', value='true') # skip this item for now return @@ -1994,12 +1958,6 @@ class Music(Items): self.logMsg(e, -1) import traceback self.logMsg("Traceback:\n%s" % traceback.format_exc(), 0) - self.logMsg('The item xml is:', -1) - try: - import xml.etree.cElementTree as etree - except ImportError: - import xml.etree.ElementTree as etree - etree.dump(item) utils.window('plex_scancrashed', value='true') # skip this item for now return