mirror of
https://github.com/python/cpython.git
synced 2025-08-11 20:40:27 +00:00
Oops -- remove some debug print statements!
This commit is contained in:
parent
cecadc469b
commit
c74521acc4
1 changed files with 0 additions and 4 deletions
|
@ -188,13 +188,9 @@ class URLopener:
|
||||||
if not filename:
|
if not filename:
|
||||||
import tempfile
|
import tempfile
|
||||||
garbage, path = splittype(url)
|
garbage, path = splittype(url)
|
||||||
print (garbage, path)
|
|
||||||
garbage, path = splithost(path or "")
|
garbage, path = splithost(path or "")
|
||||||
print (garbage, path)
|
|
||||||
path, garbage = splitquery(path or "")
|
path, garbage = splitquery(path or "")
|
||||||
print (path, garbage)
|
|
||||||
path, garbage = splitattr(path or "")
|
path, garbage = splitattr(path or "")
|
||||||
print (path, garbage)
|
|
||||||
suffix = os.path.splitext(path)[1]
|
suffix = os.path.splitext(path)[1]
|
||||||
filename = tempfile.mktemp(suffix)
|
filename = tempfile.mktemp(suffix)
|
||||||
self.__tempfiles.append(filename)
|
self.__tempfiles.append(filename)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue