update .gitignore; fix logger import in execute.py

This commit is contained in:
Steve Strassmann
2013-05-10 14:40:30 -04:00
parent 2d96664128
commit 35d72f30b9
2 changed files with 5 additions and 3 deletions

3
.gitignore vendored
View File

@@ -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

View File

@@ -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):
"""