Ricardo Aráoz wrote:
> def _quote(x):
> ##    if type(x) == types.StringType:
> ##        x = "'" + string.replace(str(x), "'", "''") + "'"
>     if type(x) in (types.StringType, types.UnicodeType):

That can be rewritten:

if isinstance(x, basestring):

>         x = "'" + x.replace("'", "''") + "'"
> Would this note be enough, or should I do something different for this
> request?

Sounds reasonable to me, but now I'm confused what file we are talking about. I 
don't 
see pymssql.py in the repository anywhere.

Paul

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to