[vlc-commits] symb_upload.py: Remove check for basepath

David Fuhrmann git at videolan.org
Fri Jun 1 11:31:35 CEST 2018


vlc/vlc-3.0 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sun Jan 14 16:42:18 2018 +0100| [c841431742ab922fcf3adcb97c4459ad095da5b2] | committer: David Fuhrmann

symb_upload.py: Remove check for basepath

basepath is not valid variable in this context.

(cherry picked from commit e7f1eee0bcfdc19cf7db3c6003fe228bc9c08a66)
Signed-off-by: David Fuhrmann <dfuhrmann at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=c841431742ab922fcf3adcb97c4459ad095da5b2
---

 extras/breakpad/symb_upload.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/extras/breakpad/symb_upload.py b/extras/breakpad/symb_upload.py
index 54f0c90165..cd57911435 100755
--- a/extras/breakpad/symb_upload.py
+++ b/extras/breakpad/symb_upload.py
@@ -168,8 +168,6 @@ class LocalDirOutputStore(OutputStore):
     def __init__(self, rootdir: str):
         super().__init__()
         self.rootdir = rootdir
-        if not os.path.exists(basepath):
-            raise RuntimeError("root path '{}' does not exists".format(basepath))
 
     def store(self, dump: typing.io, meta):
         basepath = os.path.join(self.rootdir, meta["debug_file"], meta["debug_identifier"])



More information about the vlc-commits mailing list