fix manage.py importing from the wrong path

This commit is contained in:
justcool393 2023-04-02 00:58:53 -05:00 committed by Ben Rog-Wilhelm
parent 39ce6a4ee9
commit f81dd4b7a2
3 changed files with 8 additions and 12 deletions

View file

@ -13,5 +13,5 @@ def run_command(argv):
sys.exit(result.returncode)
if __name__=='__main__':
if __name__ == '__main__':
run_command(sys.argv)

View file

@ -1,13 +1,10 @@
import functools
import pprint
# import pprint
import subprocess
import sys
import time
def _execute(command,**kwargs):
#print("Running:")
#pprint.pprint(command)
# print("Running:")
# pprint.pprint(command)
check = kwargs.get('check', True)
on_stdout_line = kwargs.get('on_stdout_line', None)

View file

@ -3,11 +3,10 @@
import sys
from common import error, run_help
from command import run_command
from test import run_test
if __name__=='__main__':
from .command import run_command
from .test import run_test
if __name__ == '__main__':
if len(sys.argv) < 2:
error("Usage: './manage.py <command> [options]'")