replbase 0.0.42__tar.gz → 0.0.43__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: replbase
3
- Version: 0.0.42
3
+ Version: 0.0.43
4
4
  Summary: "Combination of other REPL tools into a reusable class that generates a REPL"
5
5
  License: MIT
6
6
  Author: Joseph Bochinski
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
4
4
 
5
5
  [tool.poetry]
6
6
  name = "replbase"
7
- version = "0.0.42"
7
+ version = "0.0.43"
8
8
  description = "\"Combination of other REPL tools into a reusable class that generates a REPL\""
9
9
  authors = [ "Joseph Bochinski <stirgejr@gmail.com>",]
10
10
  license = "MIT"
@@ -119,6 +119,10 @@ class CommandMeta:
119
119
  else:
120
120
  self.additional_lines.append(part)
121
121
 
122
+ for arg, param in self.sig_parms.items():
123
+ if arg not in self.args:
124
+ self.args[arg] = [self.get_param_str(param)]
125
+
122
126
  self.parse_lines()
123
127
  self.parse_flags()
124
128
 
@@ -310,9 +314,5 @@ class CommandMeta:
310
314
  elif cur_arg:
311
315
  args[cur_arg].append(line)
312
316
 
313
- for arg, param in self.sig_parms.items():
314
- if arg not in args:
315
- args[arg].append(self.get_param_str(param))
316
-
317
317
  arg_strs = {arg: "\n".join(lines) for arg, lines in args.items()}
318
318
  self.args.update(arg_strs)
File without changes
File without changes