pld-ftp-admin: modules/ftptree.py - back to SameError name, used o...

glen glen at pld-linux.org
Mon Mar 31 23:40:27 CEST 2008


Author: glen                         Date: Mon Mar 31 21:40:27 2008 GMT
Module: pld-ftp-admin                 Tag: HEAD
---- Log message:
- back to SameError name, used outside this class

---- Files affected:
pld-ftp-admin/modules:
   ftptree.py (1.33 -> 1.34) 

---- Diffs:

================================================================
Index: pld-ftp-admin/modules/ftptree.py
diff -u pld-ftp-admin/modules/ftptree.py:1.33 pld-ftp-admin/modules/ftptree.py:1.34
--- pld-ftp-admin/modules/ftptree.py:1.33	Mon Mar 31 23:35:14 2008
+++ pld-ftp-admin/modules/ftptree.py	Mon Mar 31 23:40:22 2008
@@ -7,7 +7,7 @@
 
 quietmode=False
 
-class SomeException(Exception):
+class SomeError(Exception):
     def __init__(self):
         return
 
@@ -17,7 +17,7 @@
 def bailoutonerror():
     if not errnum == 0:
         print "%d error(s) encountered... aborting" % errnum
-        raise SomeException
+        raise SomeError
 
 def pinfo(msg):
     print 'INFO: ' + msg
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-ftp-admin/modules/ftptree.py?r1=1.33&r2=1.34&f=u



More information about the pld-cvs-commit mailing list