Package: python-pexpect
Version: 2.1-1
Severity: minor

Recent upgrades have changed the logging behavior so that I now get a
double \n at the end of each line.  I created the instance with
        self.evms = pexpect.spawn("evms", timeout=300,
logfile=sys.stdout)

I am also using the python logging module, but it is only the output
going through this channel that exhibits the problem.  This is a
change in behavior.  I now see
22-Jul 01:06 wheat-fd: ClientRunBeforeJob:

22-Jul 01:06 wheat-fd: ClientRunBeforeJob: EVMS Command Line Interpreter 
Version 2.5.5

22-Jul 01:06 wheat-fd: ClientRunBeforeJob:

22-Jul 01:08 wheat-fd: ClientRunBeforeJob: EVMS: Query: 
Regions,Region="lvm/LITTLEBOY/Backup Snapshot Region"
22-Jul 01:08 wheat-fd: ClientRunBeforeJob: Query: 
Regions,Region="lvm/LITTLEBOY/Backup Snapshot Region"

22-Jul 01:08 wheat-fd: ClientRunBeforeJob:

22-Jul 01:08 wheat-fd: ClientRunBeforeJob: Region Name: lvm/LITTLEBOY/Backup 
Snapshot Region

22-Jul 01:08 wheat-fd: ClientRunBeforeJob: Major: 254

22-Jul 01:08 wheat-fd: ClientRunBeforeJob: Minor: 37

22-Jul 01:08 wheat-fd: ClientRunBeforeJob: Active: TRUE

I've verified that, from the command line, there are  no extra empty
lines.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (990, 'stable'), (50, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27advncdfs
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages python-pexpect depends on:
ii  python                        2.3.5-11   An interactive high-level object-o
ii  python-central                0.5.1      register and build utility for Pyt

python-pexpect recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to