Skip to content

Commit

Permalink
Small fixes and removal of comments and print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
iDigitalFlame committed Feb 24, 2023
1 parent 3f210b0 commit 802a523
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion doppler/include/cli/bolt.py
Original file line number Diff line number Diff line change
Expand Up @@ -2995,7 +2995,6 @@ def do_troll(self, a, arg):
troll hc false
troll block_input
"""
print(_is_help(a))
if _is_help(a):
return self.do_help("troll")
if not nes(a):
Expand Down
1 change: 0 additions & 1 deletion jetstream/generators/bolt.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ def print_options(self, cfg, root, file):
if cfg["load"]:
print(f'- | = {"Pipe:":20}{cfg["pipe"]}', file=file)
print(f'- | = {"Ignore:":20}{cfg["ignore"]}', file=file)
# if not cfg["ignore"]:
print(f'- | = {"Linker:":20}{cfg["linker"].title()}', file=file)
print(f'- | = {"Guardian:":20}{cfg["guardian"]}', file=file)
print(f'- | = {"Guard First:":20}{cfg["guard_first"]}', file=file)
Expand Down
2 changes: 0 additions & 2 deletions jetstream/include/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -759,11 +759,9 @@ def _empty(path, names, ret=None, ign=False):
with open(path, "w") as f:
for i in range(0, len(names)):
x = d.find(f"func {names[i]}(")
# print("find", path, ":", names[i])
if x <= 0:
continue
s, e = _find_func(d, x)
# print("find", s, e, len(d), d[s:e])
if s <= x:
continue
if isinstance(ret, list) and len(ret) > i:
Expand Down

0 comments on commit 802a523

Please sign in to comment.