Change empty string check approach

Review suggestion

Co-authored-by: Dylan Baker <dylan@pnwbakers.com>
pull/13360/head
Mykola 5 months ago committed by GitHub
parent 7516508547
commit a9bc6cc3b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      mesonbuild/backend/xcodebackend.py

@ -154,7 +154,7 @@ class PbxDictItem:
def quote_value(self, value: str) -> str:
quoted = f'"{value}"'
if len(value) == 0:
if not value:
return quoted
if set(' +@').isdisjoint(value) or value[0] == '"':

Loading…
Cancel
Save