From: Catalin Marinas Date: Wed, 1 Mar 2006 21:41:55 +0000 (+0000) Subject: Allow stg to be loaded in pydb and not run main() X-Git-Tag: v0.9~25 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/commitdiff_plain/38242738db8f183958ecab18a3604497d0fa592c?hp=38242738db8f183958ecab18a3604497d0fa592c Allow stg to be loaded in pydb and not run main() This patch adds the __name__ == '__main__' condition to stg*. It also adds a stg-dbg file that starts pdb before invoking main(). Signed-off-by: Catalin Marinas ---