Ignore:
Timestamp:
03/07/06 13:47:32 (13 years ago)
Author:
spascoe
Message:

Messages from the client that were previously printed to stdout/stderr are now returned
in a list from python functions bbftpc.connect() and bbftpc.docommand().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/trunk/test/runclient.py

    r1264 r1265  
    6565ach = AuthClientHandler(privatestr) 
    6666 
    67 BC.connect(ach, args) 
     67print "** runclient.py: connecting" 
     68msgs = BC.connect(ach, args) 
     69for msg in msgs: 
     70    print msg.rstrip() 
     71     
    6872for cmd in cmds: 
    69     BC.docommand(cmd) 
     73    print "** runclient.py: doing %s" % cmd 
     74    msgs = BC.docommand(cmd) 
     75    for msg in msgs: 
     76        print msg.rstrip() 
    7077BC.close() 
Note: See TracChangeset for help on using the changeset viewer.