Commit 35d72f30 by Steve Strassmann

update .gitignore; fix logger import in execute.py

parent 2d966641
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
*.swp *.swp
*.orig *.orig
*.DS_Store *.DS_Store
*.mo
:2e_* :2e_*
:2e# :2e#
.AppleDouble .AppleDouble
...@@ -22,6 +23,8 @@ reports/ ...@@ -22,6 +23,8 @@ reports/
*.egg-info *.egg-info
Gemfile.lock Gemfile.lock
.env/ .env/
conf/locale/en/LC_MESSAGES/*.po
!messages.po
lms/static/sass/*.css lms/static/sass/*.css
cms/static/sass/*.css cms/static/sass/*.css
lms/lib/comment_client/python lms/lib/comment_client/python
......
import os, subprocess import os, subprocess, logging
from logger import get_logger
from config import CONFIGURATION, BASE_DIR from config import CONFIGURATION, BASE_DIR
LOG = get_logger(__name__) LOG = logging.getLogger(__name__)
def execute(command, working_directory=BASE_DIR, log=LOG): def execute(command, working_directory=BASE_DIR, log=LOG):
""" """
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment