Changeset 178
- Timestamp:
- 11/16/09 11:07:24 (9 months ago)
- Files:
-
- pykcs11/trunk/samples/events.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
pykcs11/trunk/samples/events.py
r174 r178 21 21 22 22 if __name__ == '__main__': 23 import getopt, sys 23 import getopt 24 import sys 24 25 25 26 try: 26 opts, args = getopt.getopt(sys.argv[1:], "p:c:ho", ["pin=", "lib=", "help", "opensession"]) 27 opts, args = getopt.getopt(sys.argv[1:], "p:c:ho", 28 ["pin=", "lib=", "help", "opensession"]) 27 29 except getopt.GetoptError: 28 30 # print help information and exit: … … 66 68 except PyKCS11.PyKCS11Error, e: 67 69 print "Error:", e 68
