update .gitignore; fix logger import in execute.py
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -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
|
||||
|
||||
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user