Skip to content

Commit

Permalink
bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Istvan Bozso committed Mar 5, 2020
1 parent a146b9d commit 37aa489
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 0 additions & 6 deletions utils/html/tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,6 @@ def __call__(self, *items):
def append(self, item):
self.children.append(item)

# @staticmethod
# def sum_impl(self):
# for child in self.children:
# try:


def render_children(self):
return "".join(
child.render()
Expand Down
4 changes: 3 additions & 1 deletion utils/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import subprocess as sub
import shutil as sh

from shlex import split

__all__ = (
"cd", "Path",
)
Expand Down Expand Up @@ -31,7 +33,7 @@ def __exit__(self, etype, value, traceback):
@classmethod
def call(cls, cmd, *args, **kwargs):
with cls(*args, **kwargs):
sub.call(cmd)
sub.call(split(cmd))


class Path(object):
Expand Down

0 comments on commit 37aa489

Please sign in to comment.