Roundup Tracker - Issues

Issue 2167369

classification
Title: Class.filter() fails if filterspec contains int value
Type: Severity: normal
Components: Database Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: richard Nosy List: richard, techtonik
Priority: normal Keywords:

Created on 2008-10-15 03:45 by techtonik, last changed 2012-10-10 12:07 by admin.

Messages
msg2596 Author: [hidden] (techtonik) Date: 2008-10-15 03:45
exception : 'int' object has no attribute 'split'
Python 2.5.1
E:\ENV\Python25\python.exe

The attributes are:

q:\roundup\backends\back_anydbm.py in _filter(self=<hyperdb.Class "nonce">, search_matches=None, filterspec={'salt': '3Ap6rC', 'server_url': '', 'timestamp': 1224044595}, proptree=proptree: proptree: timestamp proptree: salt proptree: server_url proptree: id, num_re=<_sre.SRE_Pattern object at 0x015700D0>)
 1646             elif isinstance(propclass, hyperdb.Number):
 1647                 if type(v) != type([]):
 1648                     v = v.split(',')
      v = 1224044595, global split = undefined
 1649                 l.append((OTHER, k, [float(val) for val in v]))


nonce Class is described as follows:
Class(db, "nonce",
                server_url = String(),
                timestamp = Number(),
                salt = String())
History
Date User Action Args
2008-10-15 03:45:23techtonikcreate