fix manage.py importing from the wrong path
This commit is contained in:
parent
39ce6a4ee9
commit
f81dd4b7a2
3 changed files with 8 additions and 12 deletions
|
@ -1,9 +1,6 @@
|
||||||
|
# import pprint
|
||||||
import functools
|
|
||||||
import pprint
|
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
import time
|
|
||||||
|
|
||||||
def _execute(command,**kwargs):
|
def _execute(command,**kwargs):
|
||||||
# print("Running:")
|
# print("Running:")
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
import sys
|
import sys
|
||||||
from common import error, run_help
|
from common import error, run_help
|
||||||
|
|
||||||
from command import run_command
|
from .command import run_command
|
||||||
from test import run_test
|
from .test import run_test
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
||||||
if len(sys.argv) < 2:
|
if len(sys.argv) < 2:
|
||||||
error("Usage: './manage.py <command> [options]'")
|
error("Usage: './manage.py <command> [options]'")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue