fix NameError stable
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Tue, 15 Dec 2009 17:00:58 +0100
branchstable
changeset 4122 3c3d2a102d4c
parent 4119 85bb30fb6d9b
child 4123 c309d441c128
fix NameError
etwist/service.py
--- a/etwist/service.py	Mon Dec 14 17:54:45 2009 +0100
+++ b/etwist/service.py	Tue Dec 15 17:00:58 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)