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'
|
FILENAME_BADCHARS = '*?"<>|\r\n'
|
||||||
|
|
||||||
last_request = 0
|
|
||||||
CHUNKSIZE = 4 * bytestring.KIBIBYTE
|
CHUNKSIZE = 4 * bytestring.KIBIBYTE
|
||||||
TIMEOUT = 60
|
TIMEOUT = 60
|
||||||
TEMP_EXTENSION = '.downloadytemp'
|
TEMP_EXTENSION = '.downloadytemp'
|
||||||
|
|
||||||
PRINT_LIMITER = ratelimiter.Ratelimiter(allowance=5, mode='reject')
|
|
||||||
|
|
||||||
SPECIAL_FILENAMES = [os.devnull]
|
SPECIAL_FILENAMES = [os.devnull]
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
SPECIAL_FILENAMES.append('con')
|
SPECIAL_FILENAMES.append('con')
|
||||||
|
@ -430,7 +427,6 @@ def touch(filename):
|
||||||
f.close()
|
f.close()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
def download_argparse(args):
|
def download_argparse(args):
|
||||||
url = args.url
|
url = args.url
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue