remove code.interact

fix another unicode oversight
This commit is contained in:
Thomas Vander Stichele
2009-09-11 15:50:45 +00:00
parent 8f94731876
commit f3bf6220fb
2 changed files with 2 additions and 2 deletions

View File

@@ -28,3 +28,4 @@ unicode
- morituri.extern.log.log is not unicode-safe; don't pass it unicode objects; - morituri.extern.log.log is not unicode-safe; don't pass it unicode objects;
for example, always use %r to log paths for example, always use %r to log paths
- run with RIP_DEBUG=5 once in a while to catch unicode/logging errors. - run with RIP_DEBUG=5 once in a while to catch unicode/logging errors.
- Also use unicode prefix/suffix in tempfile.* methods; to force unicode.

View File

@@ -282,7 +282,6 @@ class CDRDAOTask(task.Task):
except Exception, e: except Exception, e:
self.debug('exception during _read()') self.debug('exception during _read()')
self.debug(log.getExceptionMessage(e)) self.debug(log.getExceptionMessage(e))
import code; code.interact(local=locals())
self.exception = e self.exception = e
self.stop() self.stop()
@@ -395,7 +394,7 @@ class ReadSessionTask(CDRDAOTask):
CDRDAOTask.__init__(self) CDRDAOTask.__init__(self)
self.parser = OutputParser(self) self.parser = OutputParser(self)
(fd, self._tocfilepath) = tempfile.mkstemp( (fd, self._tocfilepath) = tempfile.mkstemp(
suffix='.readtablesession.morituri') suffix=u'.readtablesession.morituri')
os.close(fd) os.close(fd)
os.unlink(self._tocfilepath) os.unlink(self._tocfilepath)