Kaydet (Commit) e58f98bf authored tarafından Guido van Rossum's avatar Guido van Rossum

path -> posixpath

üst 41f9503c
# Module 'commands'
#
# Various tools for executing commands and looking at their output and status.
#
# NB This only works (and is only relevant) for UNIX.
# Get 'ls -l' status for an object into a string
......@@ -33,8 +35,8 @@ def getstatusoutput(cmd):
# Make command argument from directory and pathname (prefix space, add quotes).
#
def mk2arg(head, x):
import path
return mkarg(path.join(head, x))
import posixpath
return mkarg(posixpath.join(head, x))
# Make a shell command argument from a string.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment