abandon_stale: Use pygerrit2 instead of pygerrit
Change-Id: I2cd6149800368e02805e60b854bc86604cce405f
This commit is contained in:
parent
de55207db4
commit
77abe31431
@ -38,7 +38,7 @@ Example to abandon changes that have not been updated for 3 months:
|
|||||||
Supports dry-run mode to only list the stale changes but not actually
|
Supports dry-run mode to only list the stale changes but not actually
|
||||||
abandon them.
|
abandon them.
|
||||||
|
|
||||||
Requires pygerrit (https://github.com/sonyxperiadev/pygerrit).
|
Requires pygerrit2 (https://github.com/dpursehouse/pygerrit2).
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@ -47,8 +47,8 @@ import optparse
|
|||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from pygerrit.rest import GerritRestAPI
|
from pygerrit2.rest import GerritRestAPI
|
||||||
from pygerrit.rest.auth import HTTPBasicAuthFromNetrc, HTTPDigestAuthFromNetrc
|
from pygerrit2.rest.auth import HTTPBasicAuthFromNetrc, HTTPDigestAuthFromNetrc
|
||||||
|
|
||||||
|
|
||||||
def _main():
|
def _main():
|
||||||
|
Loading…
Reference in New Issue
Block a user