diff options
Diffstat (limited to 'checklicenses.py')
-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']: |