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

David Fuhrmann git at videolan.org
Sun Jan 14 16:44:48 CET 2018


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

symb_upload.py: Remove check for basepath

basepath is not valid variable in this context.

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

 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 3077f0b64e..31c633bbef 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