equal
deleted
inserted
replaced
1249 int rev, i; |
1249 int rev, i; |
1250 |
1250 |
1251 if (!PyArg_ParseTuple(args, PY23("s#", "y#"), &node, &nodelen)) |
1251 if (!PyArg_ParseTuple(args, PY23("s#", "y#"), &node, &nodelen)) |
1252 return NULL; |
1252 return NULL; |
1253 |
1253 |
1254 if (nodelen < 4) { |
1254 if (nodelen < 1) { |
1255 PyErr_SetString(PyExc_ValueError, "key too short"); |
1255 PyErr_SetString(PyExc_ValueError, "key too short"); |
1256 return NULL; |
1256 return NULL; |
1257 } |
1257 } |
1258 |
1258 |
1259 if (nodelen > 40) { |
1259 if (nodelen > 40) { |