diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-09-30 18:17:12 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-09-30 18:43:11 +0300 |
commit | e71692739698693ab8ce5cb893e6bca18eb47d03 (patch) | |
tree | 8eeb58179300996fe937133d4454ced266251b46 | |
parent | a48cf78fab4a283ef43c091e8c324c968377f9db (diff) |
Drop bogus and unneeded os.makedirs() call
It is a (file:) URL anyway, and LO seems to take care of creating the
directory as neded.
Change-Id: I19dd7b67cfe2f77cea14e882c1142fadde2fbdaa
-rw-r--r-- | bin/benchmark-document-loading | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/bin/benchmark-document-loading b/bin/benchmark-document-loading index 25f354ee71ec..5bba53e27522 100644 --- a/bin/benchmark-document-loading +++ b/bin/benchmark-document-loading @@ -326,10 +326,6 @@ def loadFromURL(xContext, url, t, component): xGEB.removeDocumentEventListener(xListener) def exportToODF(xContext, xDoc, baseName, t, component): - try: - os.makedirs(outdir) - except OSError: - pass exportFileName = outdir + "/" + os.path.splitext(baseName)[0] + flatODFTypes[component][0] print("exportToODF " + baseName + " => " + exportFileName) props = [("FilterName", flatODFTypes[component][1]), |