From c6c2e37404b441e7bc7cfff1209c6d763a004d21 Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Wed, 26 Dec 2012 01:31:10 +0000 Subject: Switch to aclocal 1.11 1.12 requires autoconf 2.59 --- (limited to 'devbot/utils.py') 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 -- cgit v0.9.1