Kaydet (Commit) 12f8c4d2 authored tarafından Brett Cannon's avatar Brett Cannon

Change argument list for addsitedir() to not require a second argument and thus

match old verion's argument list (overlooked since API of the file is
undocumented).
üst 37b0c1db
......@@ -145,7 +145,7 @@ def addpackage(sitedir, name, known_paths):
known_paths = None
return known_paths
def addsitedir(sitedir, known_paths):
def addsitedir(sitedir, known_paths=None):
"""Add 'sitedir' argument to sys.path if missing and handle .pth files in
'sitedir'"""
if known_paths is None:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment