Hi all,

I´ve noticed something very strange:

from storm.locals import *

database = 
create_database("postgres://voltron:[EMAIL PROTECTED]:5432/testdb")


class User(object):
    __storm_table__ = "users"
    id = Int(primary=True)
    username = Unicode()
    password = Unicode()
    email = Unicode()


store = Store(database)
user = User()
user.username = u'voltron'
user.password = u'password1'
user.email = u'[EMAIL PROTECTED]'

store.flush()
store.commit()

resultset = jobseeker_store.find(User, User.username == u"voltron")
print [row.password for row in resultset]

This alway returns an empty resultset. The flush() and commits() do not 
work and absolutely no exceptions or errors are thrown, does anyone else 
have this problem?

Windows 2000
python 2.4
Storm 0.10 2.4

Thanks for any help


-- 
storm mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/storm

Reply via email to