|
38 | 38 | help='When does this token expire? --end_time overrides --window') |
39 | 39 | parser.add_option( |
40 | 40 | '-w', '--window', |
41 | | - action='store', type='string', dest='window_seconds', |
| 41 | + action='store', type='int', dest='window_seconds', |
42 | 42 | help='How long is this token valid for?') |
43 | 43 | parser.add_option( |
44 | 44 | '-d', '--field_delimiter', |
45 | 45 | action='store', default='~', type='string', dest='field_delimiter', |
46 | 46 | help='Character used to delimit token body fields. [Default:~]') |
47 | | - parser.add_option( |
48 | | - '-D', '--acl_delimiter', |
49 | | - action='store', default='!', type='string', dest='acl_delimiter', |
50 | | - help='Character used to delimit acl fields. [Default:!]') |
| 47 | + # parser.add_option( |
| 48 | + # '-D', '--acl_delimiter', |
| 49 | + # action='store', default='!', type='string', dest='acl_delimiter', |
| 50 | + # help='Character used to delimit acl fields. [Default:!]') |
51 | 51 | parser.add_option( |
52 | 52 | '-x', '--escape_early', |
53 | 53 | action='store_true', default=False, dest='escape_early', |
|
88 | 88 | algorithm=options.algorithm, |
89 | 89 | salt=options.salt, |
90 | 90 | field_delimiter=options.field_delimiter, |
91 | | - acl_delimiter=options.acl_delimiter, |
| 91 | + # acl_delimiter=options.acl_delimiter, |
92 | 92 | escape_early=options.escape_early, |
93 | 93 | verbose=options.verbose) |
94 | 94 | token = generator.generateToken(url=options.url, |
|
0 commit comments