mirror of
https://github.com/python/cpython.git
synced 2025-10-24 02:13:49 +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 @@ def retrieve(self, url, filename=None):
|
|||
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