From: Mariusz Mazur Date: Mon, 31 Mar 2008 21:35:14 +0000 (+0000) Subject: - no need to use the exceptions module; Exception is a builtin class X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=f72ff886e3b2e905784611ae67887faa5741dce3;p=projects%2Fpld-ftp-admin.git - no need to use the exceptions module; Exception is a builtin class Changed files: modules/ftptree.py -> 1.33 --- diff --git a/modules/ftptree.py b/modules/ftptree.py index b56f812..efbec2c 100644 --- a/modules/ftptree.py +++ b/modules/ftptree.py @@ -7,8 +7,7 @@ errnum=0 quietmode=False -import exceptions -class SomeException(exceptions.Exception): +class SomeException(Exception): def __init__(self): return