Title: [291617] trunk/Tools
- Revision
- 291617
- Author
- jbed...@apple.com
- Date
- 2022-03-22 07:48:44 -0700 (Tue, 22 Mar 2022)
Log Message
[git-webkit] Make radar conditional on authentication (Follow-up fix)
https://bugs.webkit.org/show_bug.cgi?id=238051
<rdar://problem/90384655>
Reviewed by Alexey Proskuryakov.
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/radar.py:
(Tracker.__init__): Only check for authentication if library exists.
Canonical link: https://commits.webkit.org/248709@main
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (291616 => 291617)
--- trunk/Tools/ChangeLog 2022-03-22 14:48:05 UTC (rev 291616)
+++ trunk/Tools/ChangeLog 2022-03-22 14:48:44 UTC (rev 291617)
@@ -1,3 +1,14 @@
+2022-03-22 Jonathan Bedard <jbed...@apple.com>
+
+ [git-webkit] Make radar conditional on authentication (Follow-up fix)
+ https://bugs.webkit.org/show_bug.cgi?id=238051
+ <rdar://problem/90384655>
+
+ Reviewed by Alexey Proskuryakov.
+
+ * Scripts/libraries/webkitbugspy/webkitbugspy/radar.py:
+ (Tracker.__init__): Only check for authentication if library exists.
+
2022-03-21 Jonathan Bedard <jbed...@apple.com>
[Python 3] Use sys.executable instead of Python
Modified: trunk/Tools/Scripts/libraries/webkitbugspy/webkitbugspy/radar.py (291616 => 291617)
--- trunk/Tools/Scripts/libraries/webkitbugspy/webkitbugspy/radar.py 2022-03-22 14:48:05 UTC (rev 291616)
+++ trunk/Tools/Scripts/libraries/webkitbugspy/webkitbugspy/radar.py 2022-03-22 14:48:44 UTC (rev 291617)
@@ -102,8 +102,8 @@
self._projects = [project] if project else (projects or [])
self.library = self.radarclient()
- authentication = authentication or self.authentication()
- if authentication and self.library:
+ authentication = authentication or (self.authentication() if self.library else None)
+ if authentication:
self.client = self.library.RadarClient(
authentication, self.library.ClientSystemIdentifier(library_name, str(library_version)),
)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes