Removed echos from uri module.

This commit is contained in:
Dominik Picheta
2012-05-07 14:01:59 +02:00
parent cf87759e29
commit dfa1f7ce62

View File

@@ -16,7 +16,6 @@ proc `/`*(a, b: TUrl): TUrl =
## Joins two URLs together, separating them with / if needed.
var urlS = $a
var bS = $b
echo(urlS, " & ", bS)
if urlS == "": return b
if urlS[urlS.len-1] != '/':
urlS.add('/')
@@ -25,7 +24,6 @@ proc `/`*(a, b: TUrl): TUrl =
else:
urlS.add(bs)
result = TUrl(urlS)
echo(result)
proc add*(url: var TUrl, a: TUrl) =
## Appends url to url.