Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.stsci.edu/spst/UnixTransition/doc/checkout.html
Дата изменения: Fri Apr 8 12:46:14 2016
Дата индексирования: Sun Apr 10 23:11:19 2016
Кодировка:
Python: module checkout
 
 
checkout (version 13.11.20)
index
checkout.py

PURPOSE --
Check out a configured file for modification.
 
This tool replaces CONFIGURE.COM
 
Requires environment variable UVM_LIBRARY.  UVM_LIBRARY should be
the top level uvm library directory.
 
DEVELOPER --
Don Chance
 
MODIFICATION HISTORY --
Initial implementation  7/18/01
Modified to use uvm_server. 9/5/01
Modified to enhance robustness. 10/30/01 drc
Enhance error messages when file cannot be reserved.  3/16/02 drc
Create the checkout file to store info about who did the checkout
and when they did it.  6/5/03 drc
Fix problems caused by upgrade to python 2.4.1 9/20/05 drc 
Just delete the file, rather than chmod'ing it. 2/26/09 drc
remove chmod on temp file. 4/9/09
no need to close temp file. 4/29/09
close that file after all 5/19/09
open/close file quickly. 11/3/09 drc
completely revamped to client/server architecture 10/12/11 drc
add info about who's checking out the file. 11/20/13 drc

 
Modules
       
os
shutil
socket
spss_sys_util
spst_getopt

 
Functions
       
run(*args)
Reserve a configured file for modification.
 
Usage:
do checkout <file_name> [-verbose]

 
Data
        __version__ = '13.11.20'