fix: Don't include request at the top level.
This commit is contained in:
parent
283556e998
commit
92a6893732
|
@ -1,6 +1,5 @@
|
|||
import os
|
||||
import logging
|
||||
import requests
|
||||
import sys
|
||||
|
||||
from typing import Callable, cast, Optional, NoReturn
|
||||
|
@ -237,6 +236,8 @@ cmds += [Cmd("i", "install", "Install all the external packages", installCmd)]
|
|||
|
||||
|
||||
def initCmd(args: Args):
|
||||
import requests
|
||||
|
||||
repo = args.consumeOpt('repo', const.DEFAULT_REPO_TEMPLATES)
|
||||
list = args.consumeOpt('list')
|
||||
|
||||
|
|
Loading…
Reference in a new issue