From 6a54d265b353e23f4734ef4c2843132004daede1 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 14 Aug 2010 17:12:11 +0200 Subject: little debug helper script --- module/debug.py | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 module/debug.py (limited to 'module') diff --git a/module/debug.py b/module/debug.py new file mode 100644 index 000000000..f3d8ad5cb --- /dev/null +++ b/module/debug.py @@ -0,0 +1,95 @@ +#!/usr/bin/env python +#coding:utf-8 + +import re +import InitHomeDir +from os import listdir + +class Wrapper(object): + pass + +def filter_info(line): + if "object at 0x" in line: + return False + elif " at line " in line: + return False + elif "