From fc314bdddc0649fd95385f351cf91ccb80702126 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 18 Jul 2014 10:56:28 +0000 Subject: Fix assert call to os.path.exists --- scripts/release-upload | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release-upload b/scripts/release-upload index 9ff5d994..65a21df4 100755 --- a/scripts/release-upload +++ b/scripts/release-upload @@ -227,7 +227,7 @@ class BuildArtifactPublisher(object): msg='Downloading {i}/{total} {basename}', basename=repr(basename), i=i, total=len(basenames)) self.download_from_url(url, dirname, pathname) - assert self.path.exists(pathname) + assert os.path.exists(pathname) def create_directory_if_missing(self, dirname): if not os.path.exists(dirname): -- cgit v1.2.1