diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-12-26 01:31:10 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-12-26 01:31:10 (GMT) |
commit | c6c2e37404b441e7bc7cfff1209c6d763a004d21 (patch) | |
tree | 67ddde11cafedf0901788932d80c8e6dfb9e6427 /devbot/utils.py | |
parent | 9c29aca272054d1bc9f66eea9a1597fc3d4daa38 (diff) |
Switch to aclocal 1.11
1.12 requires autoconf 2.59
Diffstat (limited to 'devbot/utils.py')
-rw-r--r-- | devbot/utils.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/devbot/utils.py b/devbot/utils.py index aed5de0..a8988f1 100644 --- a/devbot/utils.py +++ b/devbot/utils.py @@ -1 +1,9 @@ +import os + devnull = open("/dev/null", "w") + +def ensure_dir(path): + try: + os.mkdir(path) + except OSError: + pass |