pld-ftp-admin: modules/ftptree.py - no need to use the exceptions ...
mmazur
mmazur at pld-linux.org
Mon Mar 31 23:35:19 CEST 2008
Author: mmazur Date: Mon Mar 31 21:35:19 2008 GMT
Module: pld-ftp-admin Tag: HEAD
---- Log message:
- no need to use the exceptions module; Exception is a builtin class
---- Files affected:
pld-ftp-admin/modules:
ftptree.py (1.32 -> 1.33)
---- Diffs:
================================================================
Index: pld-ftp-admin/modules/ftptree.py
diff -u pld-ftp-admin/modules/ftptree.py:1.32 pld-ftp-admin/modules/ftptree.py:1.33
--- pld-ftp-admin/modules/ftptree.py:1.32 Mon Mar 31 23:29:52 2008
+++ pld-ftp-admin/modules/ftptree.py Mon Mar 31 23:35:14 2008
@@ -7,8 +7,7 @@
quietmode=False
-import exceptions
-class SomeException(exceptions.Exception):
+class SomeException(Exception):
def __init__(self):
return
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-ftp-admin/modules/ftptree.py?r1=1.32&r2=1.33&f=u
More information about the pld-cvs-commit
mailing list