[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[minion-cvs] Make FilePermissionError derive from UIError [bug 19]



Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.mit.edu:/tmp/cvs-serv22510/lib/mixminion

Modified Files:
	Common.py 
Log Message:
Make FilePermissionError derive from UIError [bug 19]

Index: Common.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/Common.py,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -d -r1.114 -r1.115
--- Common.py	7 Nov 2003 06:45:22 -0000	1.114
+++ Common.py	7 Nov 2003 07:35:11 -0000	1.115
@@ -83,10 +83,6 @@
     """Exception class for failed authentication to a server."""
     pass
 
-class MixFilePermissionError(MixFatalError):
-    """Exception raised when a file has the wrong owner or permissions."""
-    pass
-
 class UIError(MixError):
     """Exception raised for an error that should be reported to the user,
        not dumped as a stack trace."""
@@ -101,6 +97,10 @@
     """Exception raised for an error that should be reported to the user
        along with a usage message.
     """
+    pass
+
+class MixFilePermissionError(MixFatalError,UIError):
+    """Exception raised when a file has the wrong owner or permissions."""
     pass
 
 #----------------------------------------------------------------------