Deprecate and/or remove ospaths (#14767)
This commit is contained in:
parent
511bd947d3
commit
8e54bc5b0c
6 changed files with 6 additions and 6 deletions
|
|
@ -18,7 +18,7 @@
|
|||
##
|
||||
## Unstable API.
|
||||
|
||||
from ospaths import raiseOSError, osLastError
|
||||
from os import raiseOSError, osLastError
|
||||
|
||||
template distance*(lhs, rhs: pointer): int =
|
||||
cast[int](rhs) - cast[int](lhs)
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
## SSL_CERT_DIR environment variables.
|
||||
|
||||
import os, strutils
|
||||
from ospaths import existsEnv, getEnv
|
||||
from os import existsEnv, getEnv
|
||||
import strutils
|
||||
|
||||
# SECURITY: this unnecessarily scans through dirs/files regardless of the
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# bug #9505
|
||||
|
||||
import std/[
|
||||
strutils, ospaths, os
|
||||
strutils, os
|
||||
]
|
||||
import pkg/[
|
||||
regex
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# bug #9505
|
||||
|
||||
import std/[
|
||||
strutils, ospaths, os
|
||||
strutils, os
|
||||
]
|
||||
import pkg/[
|
||||
regex
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
import httpclient,
|
||||
net,
|
||||
unittest,
|
||||
ospaths
|
||||
os
|
||||
|
||||
from strutils import contains
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
## SSL_CERT_FILE=BogusInexistentFileName tests/untestable/thttpclient_ssl_env_var
|
||||
## SSL_CERT_DIR=BogusInexistentDirName tests/untestable/thttpclient_ssl_env_var
|
||||
|
||||
import httpclient, unittest, ospaths
|
||||
import httpclient, unittest, os
|
||||
from net import newSocket, newContext, wrapSocket, connect, close, Port,
|
||||
CVerifyPeerUseEnvVars
|
||||
from strutils import contains
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue