diff options
author | Luo Jinghua <sunmoon1997@gmail.com> | 2010-11-15 11:07:17 +0800 |
---|---|---|
committer | Luo Jinghua <sunmoon1997@gmail.com> | 2010-11-15 11:07:17 +0800 |
commit | e6c04f83c72141086f9e81ddc7b001a4ea3806ee (patch) | |
tree | a3c2019ffb403b7f2d8b4837c824c3ffea1e6b70 | |
parent | a159e53c2364372559f01c27aa0fb3d3cbe276cb (diff) |
ppstream: print backtrace if failed to parse movie list
-rw-r--r-- | totem/plugin/ppstream.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/totem/plugin/ppstream.py b/totem/plugin/ppstream.py index f8fb5c5..64409b7 100644 --- a/totem/plugin/ppstream.py +++ b/totem/plugin/ppstream.py @@ -579,7 +579,8 @@ class PPStream (totem.Plugin): try: result = self.ppslist.parseMovieList(cls, res, page) except Exception, e: - print "Couldn't parse movie list:", class_path, e + print_exc() + print "Couldn't parse movie list:", class_path cls.parsing_movies = False return result |