Skip to content

Commit

Permalink
Re #6630. Trying to fix osx build error.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed Mar 27, 2013
1 parent d98a894 commit 8c3b7ed
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Code/Mantid/docs/qtassistant/assistant_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ def assertDirs(outputdir, verbose=False):
if not os.path.exists(direc):
if verbose:
print "creating '%s'" % direc
os.makedirs(direc)
try:
os.makedirs(direc)
except OSError, e:
# EEXIST says that the file already exists
if e.errno != os.errno.EEXIST:
raise e

def addEle(doc, tag, parent=None, attrs={}):
"""Assumes that the 'doc' that comes in is a xml.dom.minidom.Document
Expand Down

0 comments on commit 8c3b7ed

Please sign in to comment.