[mirrorbrain-commits] r8383 - /trunk/mb/mb/mberr.py

From: <poeml_at_mirrorbrain.org>
Date: Wed, 05 Feb 2014 21:32:44 -0000
Author: poeml
Date: Wed Feb  5 22:32:44 2014
New Revision: 8383

URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8383&view=rev
Log:
mb delete:
- provide a more helpful message when a mirror to be deleted isn't found

Modified:
    trunk/mb/mb/mberr.py

Modified: trunk/mb/mb/mberr.py
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mb/mb/mberr.py?rev=8383&r1=8382&r2=8383&view=diff
==============================================================================
--- trunk/mb/mb/mberr.py	(original)
+++ trunk/mb/mb/mberr.py	Wed Feb  5 22:32:44 2014
_at_@ -40,7 +40,8 @@
     def __init__(self, identifier):
         MbBaseError.__init__(self)
         self.identifier = identifier
-        self.msg = 'A mirror with identifier %r does not exist in the database' \
+        self.msg = 'A mirror with identifier %r does not exist in the database\n' \
+                   '(full name required for this operation!)' \
                 % self.identifier
 
 class SocketError(MbBaseError):




_______________________________________________
mirrorbrain-commits mailing list
Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/

Note: To remove yourself from this list, send a mail with the content
 	unsubscribe
to the address mirrorbrain-commits-request_at_mirrorbrain.org
Received on Wed Feb 05 2014 - 21:32:45 GMT

This archive was generated by hypermail 2.3.0 : Wed Feb 05 2014 - 21:47:04 GMT