You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/05/25 15:23:46 UTC

[GitHub] [tvm] Lunderberg commented on a diff in pull request #11455: [skip ci][ci] Add filter to teams

Lunderberg commented on code in PR #11455:
URL: https://github.com/apache/tvm/pull/11455#discussion_r881792939


##########
tests/scripts/github_tag_teams.py:
##########
@@ -122,7 +122,7 @@ def add_tag(tag, users):
     for tag in result:
         result[tag] = list(set(result[tag]))
 
-    return {k.lower(): v for k, v in result.items()}
+    return {k.lower(): v for k, v in result.items() if k.strip() != ""}

Review Comment:
   Since empty strings/collections are false-y, the `if k.strip() != ""` can be replaced with just `if k.strip()`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org