ajack       2003/12/05 16:12:55

  Modified:    python/gump/utils tools.py
  Log:
  Name 'cat' work as 'display_file_' + name
  Need to move this from work to something specialized.
  It is too confusing for a failed test to say 'succeeded' ('cos the cat worked.)
  
  Revision  Changes    Path
  1.7       +1 -1      jakarta-gump/python/gump/utils/tools.py
  
  Index: tools.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/utils/tools.py,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- tools.py  5 Dec 2003 04:41:05 -0000       1.6
  +++ tools.py  6 Dec 2003 00:12:54 -0000       1.7
  @@ -109,7 +109,7 @@
   def catFileAsWork(workable,file,name=None):
       ok=0
       if not name: name='cat_'+os.path.basename(file)
  -    cmd=getCmdFromString("cat "+str(file),name)
  +    cmd=getCmdFromString('cat '+str(file),'display_file_'+name)
       try:
           result=execute(cmd)
           ok=result.state==CMD_STATE_SUCCESS 
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to