Changeset 594 in tailor for vcpx/monotone.py


Ignore:
Timestamp:
08/16/05 13:09:59 (8 years ago)
Author:
lele@…
Hash name:
20050816110959-97f81-62eb697d67d42b9268858637a7c08793c4fcd732
Message:

ExternalCommand?.execute() returns now a tuple (stdout, stderr)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vcpx/monotone.py

    r593 r594  
    6161            entries = ['.'] 
    6262 
    63         output = commit.execute(entries, stdout=PIPE, stderr=STDOUT) 
     63        output, error = commit.execute(entries, stdout=PIPE, stderr=PIPE) 
    6464 
    6565        # monotone complaints if there are no changes from the last commit. 
    6666        # we ignore those errors ... 
    6767        if commit.exit_status: 
    68             text = output.read() 
     68            text = error.read() 
    6969            if text.find("monotone: misuse: no changes to commit") == -1: 
    7070                stderr.write(text) 
Note: See TracChangeset for help on using the changeset viewer.