Show More
@@ -77,7 +77,7 b' def fancyopts(args, options, state, gnu=' | |||||
77 | # copy defaults to state |
|
77 | # copy defaults to state | |
78 | if isinstance(default, list): |
|
78 | if isinstance(default, list): | |
79 | state[name] = default[:] |
|
79 | state[name] = default[:] | |
80 |
elif |
|
80 | elif callable(default): | |
81 | state[name] = None |
|
81 | state[name] = None | |
82 | else: |
|
82 | else: | |
83 | state[name] = default |
|
83 | state[name] = default |
General Comments 0
You need to be logged in to leave comments.
Login now