Remove some old unnecessary globals.
This commit is contained in:
parent
6fb996f153
commit
a12bc59b17
1 changed files with 0 additions and 4 deletions
|
@ -23,13 +23,10 @@ HEADERS = {
|
|||
|
||||
FILENAME_BADCHARS = '*?"<>|\r\n'
|
||||
|
||||
last_request = 0
|
||||
CHUNKSIZE = 4 * bytestring.KIBIBYTE
|
||||
TIMEOUT = 60
|
||||
TEMP_EXTENSION = '.downloadytemp'
|
||||
|
||||
PRINT_LIMITER = ratelimiter.Ratelimiter(allowance=5, mode='reject')
|
||||
|
||||
SPECIAL_FILENAMES = [os.devnull]
|
||||
if os.name == 'nt':
|
||||
SPECIAL_FILENAMES.append('con')
|
||||
|
@ -430,7 +427,6 @@ def touch(filename):
|
|||
f.close()
|
||||
return
|
||||
|
||||
|
||||
def download_argparse(args):
|
||||
url = args.url
|
||||
|
||||
|
|
Loading…
Reference in a new issue