summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-07-18 10:56:28 (GMT)
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-07-18 10:56:28 (GMT)
commitfc314bdddc0649fd95385f351cf91ccb80702126 (patch)
tree3b8e3114d45179e285f9bef36b025993bb78f07e
parente1938d0a448b3c0c5a6901a5ffe1e168a0e737ea (diff)
downloaddefinitions-fc314bdddc0649fd95385f351cf91ccb80702126.tar.gz
Fix assert call to os.path.exists
-rwxr-xr-xscripts/release-upload2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/release-upload b/scripts/release-upload
index 9ff5d99..65a21df 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):