Skip to content

Commit

Permalink
Small tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken Kundert authored and Ken Kundert committed Nov 25, 2019
1 parent b49828b commit 97197a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shlib/shlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def rm(*paths):
def ln(src, dest):
"Create symbolic link."
dest = to_path(dest)
dest.symlink_to(src)
dest.symlink_to(to_path(src))


# touch {{{2
Expand Down Expand Up @@ -979,7 +979,7 @@ def render_command(cmd, option_args=None, width=70):
if is_str(cmd):
components = split_cmd(cmd)
else:
components = cmd[:]
components = list(cmd[:])
cmd = ' '.join(str(c) for c in components)
if len(cmd) <= width:
return cmd
Expand Down

0 comments on commit 97197a2

Please sign in to comment.