[SQL-CVS] r173 - trunk/SQLObject/sqlobject
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: <sub...@co...> - 2004-08-18 00:36:14
|
Author: ianb
Date: 2004-08-17 16:27:30 -0400 (Tue, 17 Aug 2004)
New Revision: 173
Modified:
trunk/SQLObject/sqlobject/main.py
Log:
Fixed error message
Modified: trunk/SQLObject/sqlobject/main.py
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/SQLObject/sqlobject/main.py 2004-08-17 20:27:04 UTC (rev 172)
+++ trunk/SQLObject/sqlobject/main.py 2004-08-17 20:27:30 UTC (rev 173)
@@ -875,7 +875,7 @@
try:
getattr(self.__class__, name)
except AttributeError:
- raise TypeError, "%s.new() got an unexpected keyword arg=
ument %s" % (self.__class__.__name__, name)
+ raise TypeError, "%s() got an unexpected keyword argumen=
t %s" % (self.__class__.__name__, name)
try:
setattr(self, name, value)
except AttributeError, e:
|