diff options
author | Todd Zullinger <tmz@pobox.com> | 2008-07-14 13:08:37 -0400 |
---|---|---|
committer | Todd Zullinger <tmz@pobox.com> | 2008-07-14 13:08:37 -0400 |
commit | 19ff925d1465cebd3dd7cdee84462db4ac72ad4d (patch) | |
tree | c1e68508bb3b929a107b141f664d347c0532ba65 | |
parent | 0560245437bf068548a78dcfd72391b36a937c55 (diff) | |
download | license-check-19ff925d1465cebd3dd7cdee84462db4ac72ad4d.tar.gz license-check-19ff925d1465cebd3dd7cdee84462db4ac72ad4d.tar.xz license-check-19ff925d1465cebd3dd7cdee84462db4ac72ad4d.zip |
Fix BaseClient initialization
-rwxr-xr-x | checklicenses.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/checklicenses.py b/checklicenses.py index 0aceac3..ab66385 100755 --- a/checklicenses.py +++ b/checklicenses.py @@ -91,7 +91,7 @@ def split_license(license): def get_packages(): try: pkgdb_url = 'https://admin.fedoraproject.org/pkgdb' - pkgdb_client = BaseClient(pkgdb_url, username, password) + pkgdb_client = BaseClient(pkgdb_url, username=username, password=password) pkgdb_data = pkgdb_client.send_request('acls/bugzilla', auth=True) packages = pkgdb_data['bugzillaAcls']['Fedora'] except AuthError, e: @@ -105,7 +105,7 @@ def get_packages(): def get_owners(): try: acct_url = 'https://admin.fedoraproject.org/accounts/' - acct_client = BaseClient(acct_url, username, password) + acct_client = BaseClient(acct_url, username=username, password=password) acct_data = acct_client.send_request('group/dump', auth=True) owners = {} for p in acct_data['people']: |