diff options
author | David Pursehouse <david.pursehouse@sonymobile.com> | 2013-11-07 18:34:09 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@sonymobile.com> | 2013-11-07 18:51:48 +0900 |
commit | d7d9e95768aaeca99625e1876f1f75702812e54a (patch) | |
tree | 28ed66513b96126437b8078cec823cb232842a8c /rest_example.py | |
parent | b4b5f0506e352758add0051342fe87b0796c4fc5 (diff) | |
download | pygerrit-d7d9e95768aaeca99625e1876f1f75702812e54a.tar.gz |
Fix NameError in REST API example
Change-Id: Ia72639e9579e6a438b520b50a799f18184de206b
Diffstat (limited to 'rest_example.py')
-rwxr-xr-x | rest_example.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_example.py b/rest_example.py index 668ee2a..a83686f 100755 --- a/rest_example.py +++ b/rest_example.py @@ -51,7 +51,7 @@ def _main(): parser.add_option('-b', '--basic-auth', dest='basic_auth', action='store_true', help='use basic auth instead of digest') - if HTTPKerberosAuth: + if _kerberos_support: parser.add_option('-k', '--kerberos-auth', dest='kerberos_auth', action='store_true', help='use kerberos auth') |