Skip to content

Commit 35c7e1f

Browse files
mlcommons-botmrasquinha-garjunsuresh
authored
🔄 synced file(s) with mlcommons/power-dev (mlcommons#1918)
* 🔄 synced local 'tools/submission/power/power_checker.py' with remote 'compliance/check.py' * [Automated Commit] Format Codebase --------- Co-authored-by: mlcommons-bot <null> Co-authored-by: mlcommons-bot <[email protected]> Co-authored-by: Mitchelle Rasquinha <[email protected]> Co-authored-by: Arjun Suresh <[email protected]> Co-authored-by: Arjun Suresh <[email protected]>
1 parent 61a8a6a commit 35c7e1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/submission/power/power_checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class CheckerWarning(Exception):
9090

9191
def _normalize(path: str) -> str:
9292
allparts: List[str] = []
93-
while True:
93+
while 1:
9494
parts = os.path.split(path)
9595
if parts[0] == path: # sentinel for absolute paths
9696
allparts.insert(0, parts[0])

0 commit comments

Comments
 (0)