Merge pull request #6 from glensc/patch-1

Update plat_other.py
This commit is contained in:
Virgil Dupras 2016-04-10 19:04:38 -04:00
bovenliggende 35ad95bcd5 72bc94b48d
commit 7cbefa4317
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen

Bestand weergeven

@ -48,7 +48,7 @@ def format_date(date):
return date.strftime("%Y-%m-%dT%H:%M:%S")
def info_for(src, topdir):
# ...it MUST not include a ".."" directory, and for files not "under" that
# ...it MUST not include a ".." directory, and for files not "under" that
# directory, absolute pathnames must be used. [2]
if topdir is None or not is_parent(topdir, src):
src = op.abspath(src)