--- a/etwist/service.py Wed Dec 16 10:06:00 2009 +0100
+++ b/etwist/service.py Wed Dec 16 11:17:51 2009 +0100
@@ -41,7 +41,7 @@
def SvcDoRun(self):
self.ReportServiceStatus(win32service.SERVICE_START_PENDING)
logger = getLogger('cubicweb.twisted')
- logger.info('starting %s service' % instance)
+ logger.info('starting %s service' % self.instance)
try:
# create the site
config = cwcfg.config_for(self.instance)
--- a/server/sources/rql2sql.py Wed Dec 16 10:06:00 2009 +0100
+++ b/server/sources/rql2sql.py Wed Dec 16 11:17:51 2009 +0100
@@ -995,9 +995,7 @@
return self.keyword_map[value]()
if constant.type == 'Boolean':
value = self.dbms_helper.boolean_value(value)
- elif constant.type == 'Password' or constant.type == 'Bytes':
- value = self.dbms_helper.binary_value(value)
- elif constant.type == 'Substitute':
+ if constant.type == 'Substitute':
_id = constant.value
if isinstance(_id, unicode):
_id = _id.encode()