Show More
@@ -103,8 +103,9 b' def fancyopts(args, options, state, gnu=' | |||
|
103 | 103 | # transfer result to state |
|
104 | 104 | for opt, val in opts: |
|
105 | 105 | name = argmap[opt] |
|
106 |
|
|
|
107 |
|
|
|
106 | obj = defmap[name] | |
|
107 | t = type(obj) | |
|
108 | if callable(obj): | |
|
108 | 109 | state[name] = defmap[name](val) |
|
109 | 110 | elif t is type(1): |
|
110 | 111 | try: |
General Comments 0
You need to be logged in to leave comments.
Login now