]> git.pld-linux.org Git - projects/pld-ftp-admin.git/commitdiff
- back to SameError name, used outside this class
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 31 Mar 2008 21:40:22 +0000 (21:40 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Mon, 31 Mar 2008 21:40:22 +0000 (21:40 +0000)
Changed files:
    modules/ftptree.py -> 1.34

modules/ftptree.py

index efbec2c42183984ab36e3fa4a6d34a80ce879eb5..48c829e43a207d64be720562c56336727ae311dc 100644 (file)
@@ -7,7 +7,7 @@ errnum=0
 
 quietmode=False
 
-class SomeException(Exception):
+class SomeError(Exception):
     def __init__(self):
         return
 
@@ -17,7 +17,7 @@ class SomeException(Exception):
 def bailoutonerror():
     if not errnum == 0:
         print "%d error(s) encountered... aborting" % errnum
-        raise SomeException
+        raise SomeError
 
 def pinfo(msg):
     print 'INFO: ' + msg
This page took 0.030687 seconds and 4 git commands to generate.