Skip to content

Commit 42737de

Browse files
bmcdonnell-ionxscreamerbg
authored andcommitted
phrasing/punctuation
1 parent 4ab8356 commit 42737de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mbed/mbed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1922,7 +1922,7 @@ def import_(url, path=None, ignore=False, depth=None, protocol=None, insecure=Fa
19221922
insecure = insecure or Program().get_cfg('INSECURE')
19231923

19241924
if not insecure and Repo.isinsecure(url):
1925-
error("Cannot import \"%s\" in \"%s\" due to arbitrary service schema/port in the repository URL.\nRepositories are usually hosted on service port 443 (https), 80 (http) and 22 (ssh)\nYou can use \"--insecure\" switch enable the use arbitrary repository URLs." % (repo.url, repo.path), 255)
1925+
error("Cannot import \"%s\" in \"%s\" due to arbitrary service schema/port in the repository URL.\nRepositories are usually hosted on service port 443 (https), 80 (http), or 22 (ssh).\nYou can use the \"--insecure\" switch to enable the use of arbitrary repository URLs." % (repo.url, repo.path), 255)
19261926

19271927
if os.path.isdir(repo.path) and len(os.listdir(repo.path)) > 1:
19281928
error("Directory \"%s\" is not empty. Please ensure that the destination folder is empty." % repo.path, 1)

0 commit comments

Comments
 (0)