Merge pull request #10248 from narimiran/graveyard

Move four modules to graveyard
This commit is contained in:
Miran 2019-01-10 11:17:06 +01:00 • committed by GitHub
commit 6389271d1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 27 additions and 1073 deletions

View file

@ -1,10 +1,15 @@
discard """
errormsg: "type mismatch: got <proc (s: TScgi: ScgiState or AsyncScgiState) | proc (client: AsyncSocket, headers: StringTableRef, input: string){.noSideEffect, gcsafe, locks: 0.}>"
line: 18
line: 23
"""
# Fake ScgiState objects, from now-deprecated scgi module
type
ScgiState* = object of RootObj ## SCGI state object
AsyncScgiState* = object of RootObj ## SCGI state object
#bug #442
import scgi, sockets, asyncio, strtabs
import sockets, asyncio, strtabs
proc handleSCGIRequest[TScgi: ScgiState | AsyncScgiState](s: TScgi) =
discard
proc handleSCGIRequest(client: AsyncSocket, headers: StringTableRef,

View file

@ -17,7 +17,6 @@ import parseutils
import deques
import sequtils
import strutils
import subexes
import tables
import unicode
import uri