mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +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:
|
||||
import tempfile
|
||||
garbage, path = splittype(url)
|
||||
print (garbage, path)
|
||||
garbage, path = splithost(path or "")
|
||||
print (garbage, path)
|
||||
path, garbage = splitquery(path or "")
|
||||
print (path, garbage)
|
||||
path, garbage = splitattr(path or "")
|
||||
print (path, garbage)
|
||||
suffix = os.path.splitext(path)[1]
|
||||
filename = tempfile.mktemp(suffix)
|
||||
self.__tempfiles.append(filename)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue