Small refactor on else for code cleanliness
@@ -180,9 +180,9 @@ def main():
columns=[lambda x: x],
header=out.header)
selected_columns = [0]
- else:
- if ns_handler.columns:
+ elif ns_handler.columns:
die('The given list of columns is not valid for this command')
+ else:
out = GeneratorWithData(out,
columns=[lambda x: x],
header=['Value'])
