Searched refs:zippath (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Lib/ |
D | zipfile.py | 1520 def addToZip(zf, path, zippath): argument 1522 zf.write(path, zippath, ZIP_DEFLATED) 1524 if zippath: 1525 zf.write(path, zippath) 1528 os.path.join(path, nm), os.path.join(zippath, nm)) 1533 zippath = os.path.basename(path) 1534 if not zippath: 1535 zippath = os.path.basename(os.path.dirname(path)) 1536 if zippath in ('', os.curdir, os.pardir): 1537 zippath = '' [all …]
|
/external/python/cpython3/Lib/ |
D | zipfile.py | 2406 def addToZip(zf, path, zippath): argument 2408 zf.write(path, zippath, ZIP_DEFLATED) 2410 if zippath: 2411 zf.write(path, zippath) 2414 os.path.join(path, nm), os.path.join(zippath, nm)) 2419 zippath = os.path.basename(path) 2420 if not zippath: 2421 zippath = os.path.basename(os.path.dirname(path)) 2422 if zippath in ('', os.curdir, os.pardir): 2423 zippath = '' [all …]
|