Skip to content

Commit 2993e8d

Browse files
committed
Change text from no such <class> node <node id> to drop "node"
This brings it in line with how same error is expressed in anydbm. Allows me to test more easily with one pattern to search for regardless of backend.
1 parent 4a88970 commit 2993e8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/backends/rdbms_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1199,7 +1199,7 @@ def getnode(self, classname, nodeid, fetch_multilinks=True):
11991199

12001200
values = self.sql_fetchone()
12011201
if values is None:
1202-
raise IndexError('no such %s node %s' % (classname, nodeid))
1202+
raise IndexError('no such %s %s' % (classname, nodeid))
12031203

12041204
# make up the node
12051205
node = {}

0 commit comments

Comments
 (0)