Changeset 260426 in webkit
- Timestamp:
- Apr 21, 2020 6:26:37 AM (4 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r260419 r260426 1 2020-04-21 Philippe Normand <pnormand@igalia.com> 2 3 [Flatpak SDK] Silence git stderr output 4 https://bugs.webkit.org/show_bug.cgi?id=210789 5 6 Reviewed by Sergio Villar Senin. 7 8 * flatpak/flatpakutils.py: 9 (WebkitFlatpak.is_branch_build): Don't display git errors, usually 10 emitted when operating on a SVN checkout. 11 1 12 2020-04-21 Philippe Normand <pnormand@igalia.com> 2 13 -
trunk/Tools/flatpak/flatpakutils.py
r260365 r260426 560 560 def is_branch_build(self): 561 561 try: 562 rev_parse = subprocess.check_output(("git", "rev-parse", "--abbrev-ref", "HEAD")) 562 with open(os.devnull, 'w') as devnull: 563 rev_parse = subprocess.check_output(("git", "rev-parse", "--abbrev-ref", "HEAD"), stderr=devnull) 563 564 except subprocess.CalledProcessError: 565 # This is likely not a git checkout. 564 566 return False 565 567 git_branch_name = rev_parse.decode("utf-8").strip()
Note: See TracChangeset
for help on using the changeset viewer.