Changeset 169

Show
Ignore:
Timestamp:
10/26/09 09:42:12 (9 months ago)
Author:
lrousseau
Message:

use "import getopt, sys" only if needed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • pykcs11/trunk/samples/getinfo.py

    r168 r169  
    1818 
    1919import PyKCS11 
    20 import getopt, sys 
    2120import platform 
    2221 
     
    126125 
    127126if __name__ == '__main__': 
     127    import getopt, sys 
     128 
    128129    try: 
    129130        opts, args = getopt.getopt(sys.argv[1:], "p:s:c:ho", ["pin=", "slot=", "lib=", "help", "opensession"]) 
(C) 2006 bit4id srl, for informations please contact info@bit4id.com
visitors since August 21, 2006