rev 302 - trunk/modules/File
SVN User <[email protected]>
| Newsgroups | gmane.comp.lang.prothon.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: bcollins
Date: 2004-04-08 09:04:12 -0400 (Thu, 08 Apr 2004)
New Revision: 302
Modified:
trunk/modules/File/File.c
Log:
Make error more clear.
Modified: trunk/modules/File/File.c
===================================================================
--- trunk/modules/File/File.c 2004-04-08 13:03:27 UTC (rev 301)
+++ trunk/modules/File/File.c 2004-04-08 13:04:12 UTC (rev 302)
@@ -596,7 +596,7 @@
return NULL;
}
if (!has_proto_QUES(ist, self, File_OBJ)) {
- raise_exception(ist, OBJ(TYPE_EXC), "write can only be called on a File object");
+ raise_exception(ist, OBJ(TYPE_EXC), "write can only be called from a File object");
return NULL;
}
if (!OPEN(self)) {