projects
/
kamaki
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e49289
)
Recover default value of non-None default args
author
Stavros Sachtouris
<saxtouri@admin.grnet.gr>
Tue, 19 Feb 2013 13:46:44 +0000
(15:46 +0200)
committer
Stavros Sachtouris
<saxtouri@admin.grnet.gr>
Tue, 19 Feb 2013 13:46:44 +0000
(15:46 +0200)
kamaki/cli/argument.py
patch
|
blob
|
history
diff --git
a/kamaki/cli/argument.py
b/kamaki/cli/argument.py
index
403c895
..
d121739
100644
(file)
--- a/
kamaki/cli/argument.py
+++ b/
kamaki/cli/argument.py
@@
-68,8
+68,7
@@
class Argument(object):
self.help = help
if parsed_name:
self.parsed_name = parsed_name
- if default:
- self.default = default
+ self.default = default
@property
def parsed_name(self):