return the directory Path of the current Path joined
with any given path arguments.
def dirpath(self, *args, **kwargs):
origin: path.svnurl
where:
function source:
def dirpath(self, *args, **kwargs):
""" return the directory Path of the current Path joined
with any given path arguments.
"""
l = self.strpath.split(self.sep)
if len(l) < 4:
raise py.error.EINVAL(self, "base is not valid")
elif len(l) == 4:
return self.join(*args, **kwargs)
else:
return self.new(basename='').join(*args, **kwargs)
called in /home/johnny/projects/merlinux/py/dist/py/path/svn/svncommon.py
traceback path.svnurl.dirpath.0
called in /home/johnny/projects/merlinux/py/dist/py/path/svn/svncommon.py
traceback path.svnurl.dirpath.1
called in /home/johnny/projects/merlinux/py/dist/py/path/common.py
traceback path.svnurl.dirpath.2
called in /home/johnny/projects/merlinux/py/dist/py/path/svn/svncommon.py
traceback path.svnurl.dirpath.3
called in /home/johnny/projects/merlinux/py/dist/py/path/testing/common.py
traceback path.svnurl.dirpath.4
called in /home/johnny/projects/merlinux/py/dist/py/path/svn/svncommon.py
traceback path.svnurl.dirpath.5
called in /home/johnny/projects/merlinux/py/dist/py/path/common.py
traceback path.svnurl.dirpath.6
called in /home/johnny/projects/merlinux/py/dist/py/path/svn/svncommon.py
traceback path.svnurl.dirpath.7
called in /home/johnny/projects/merlinux/py/dist/py/path/svn/svncommon.py
traceback path.svnurl.dirpath.8
called in /home/johnny/projects/merlinux/py/dist/py/path/svn/svncommon.py
traceback path.svnurl.dirpath.9
called in /home/johnny/projects/merlinux/py/dist/py/path/svn/svncommon.py
traceback path.svnurl.dirpath.10
called in /home/johnny/projects/merlinux/py/dist/py/path/common.py
traceback path.svnurl.dirpath.11
called in /home/johnny/projects/merlinux/py/dist/py/path/testing/common.py
traceback path.svnurl.dirpath.12
called in /home/johnny/projects/merlinux/py/dist/py/path/svn/svncommon.py
traceback path.svnurl.dirpath.13
called in /home/johnny/projects/merlinux/py/dist/py/path/svn/svncommon.py
traceback path.svnurl.dirpath.14
called in /home/johnny/projects/merlinux/py/dist/py/path/common.py
traceback path.svnurl.dirpath.15
called in /home/johnny/projects/merlinux/py/dist/py/path/svn/svncommon.py
traceback path.svnurl.dirpath.16
called in /home/johnny/projects/merlinux/py/dist/py/path/testing/common.py
traceback path.svnurl.dirpath.17
called in /home/johnny/projects/merlinux/py/dist/py/path/svn/svncommon.py
traceback path.svnurl.dirpath.18
called in /home/johnny/projects/merlinux/py/dist/py/path/svn/svncommon.py
traceback path.svnurl.dirpath.19
called in /home/johnny/projects/merlinux/py/dist/py/path/svn/svncommon.py