From 35d72f30b905dc2132d7d4bda428c48b97b782af Mon Sep 17 00:00:00 2001 From: Steve Strassmann Date: Fri, 10 May 2013 14:40:30 -0400 Subject: [PATCH] update .gitignore; fix logger import in execute.py --- .gitignore | 3 +++ i18n/execute.py | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index d01baf055a..f1784a48f3 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ *.swp *.orig *.DS_Store +*.mo :2e_* :2e# .AppleDouble @@ -22,6 +23,8 @@ reports/ *.egg-info Gemfile.lock .env/ +conf/locale/en/LC_MESSAGES/*.po +!messages.po lms/static/sass/*.css cms/static/sass/*.css lms/lib/comment_client/python diff --git a/i18n/execute.py b/i18n/execute.py index e3f3478d12..e55e653ea7 100644 --- a/i18n/execute.py +++ b/i18n/execute.py @@ -1,9 +1,8 @@ -import os, subprocess +import os, subprocess, logging -from logger import get_logger from config import CONFIGURATION, BASE_DIR -LOG = get_logger(__name__) +LOG = logging.getLogger(__name__) def execute(command, working_directory=BASE_DIR, log=LOG): """