]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
script: fix argument change for github module
authorPatrick Donnelly <pdonnell@ibm.com>
Tue, 17 Mar 2026 13:48:48 +0000 (09:48 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Wed, 18 Mar 2026 19:20:47 +0000 (15:20 -0400)
    Traceback (most recent call last):
        File "/home/batrick/scm/ceph/./src/script/ceph-release-notes", line 400, in <module>
            gh = github.GitHub(
            access_token=args.token)
    TypeError: GitHub.__init__() got an unexpected keyword argument 'access_token'

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
src/script/ceph-release-notes

index 29b42fed89d470619d7b981dd3149ff22cd35d90..eac014a7021b5823863f67c8dd5ff113821bd6f1 100755 (executable)
@@ -397,8 +397,7 @@ if __name__ == "__main__":
                         help="Include full PR message in addition to PR title, if available")
 
     args = parser.parse_args()
-    gh = github.GitHub(
-        access_token=args.token)
+    gh = github.GitHub(args.token)
 
     make_release_notes(
         gh,