Changeset 7556

Show
Ignore:
Timestamp:
07/14/10 10:43:19 (8 weeks ago)
Author:
jmoore
Message:

s/write_text/write_bytes/ for Windows processor.py sha1 check.

original-svn-id:  file:///home/svn/omero/branches/Beta4.2@7552 05709c45-44f0-0310-885b-81a1db45b4a6

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/components/tools/OmeroPy/src/omero/processor.py

    r7471 r7556  
    835835                raise omero.ApiUsageException(\ 
    836836                    None, None, "Job should have one executable file attached.") 
    837              
     837 
    838838            sf = self.internal_session() 
    839839            if params: 
     
    856856            # client.download(file, str(process.script_path)) 
    857857            scriptText = sf.getScriptService().getScriptText(file.id.val) 
    858             process.script_path.write_text(scriptText) 
     858            process.script_path.write_bytes(scriptText) 
    859859 
    860860            self.logger.info("Downloaded file: %s" % file.id.val) 

1.2.1-PRO © 2008-2009 agile42 all rights reserved (this page was served in: 0.108701 sec.)