fix != -> == typo (#34568)
This commit is contained in:
		@@ -829,7 +829,7 @@ def get_versions(args, name):
 | 
				
			|||||||
    valid_url = True
 | 
					    valid_url = True
 | 
				
			||||||
    try:
 | 
					    try:
 | 
				
			||||||
        parsed = urllib.parse.urlparse(args.url)
 | 
					        parsed = urllib.parse.urlparse(args.url)
 | 
				
			||||||
        if not parsed.scheme or parsed.scheme != "file":
 | 
					        if not parsed.scheme or parsed.scheme == "file":
 | 
				
			||||||
            valid_url = False  # No point in spidering these
 | 
					            valid_url = False  # No point in spidering these
 | 
				
			||||||
    except (ValueError, TypeError):
 | 
					    except (ValueError, TypeError):
 | 
				
			||||||
        valid_url = False
 | 
					        valid_url = False
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user