This same issue happens to me, too -- when reading in a field in the
database that contains an empty string, the Linux/pyodbc/MSSQL stack
reads it as a single space.

I suspect it's a similar issue to that which is mentioned in
http://pymssql.sourceforge.net/limitations.php (Search for SELECT ''"
statement returns a string containing one space instead of an empty
string.).

So I've similarly had to put in a hack in tools.py to strip() the
registration key being read in.

Aside from the issue of does this affect other areas of the framework,
my question to Massimo is -- would you accept a patch to tools.py that
calls strip() on the registration key, to work around this issue?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to