Skip to content

Commit 274b406

Browse files
committed
qualcomm-cdi-generator.py: reduce logging spam
Move the generator logging inside the "only if nodes are found" block. Signed-off-by: Koen Kooi <[email protected]>
1 parent 8d25f2d commit 274b406

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qualcomm-cdi-generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ def find_devicenodes(deviceglob):
3838
return files
3939

4040
def generate_devicenodes_cdi(nickname, filesglob):
41-
logging.info("Generating CDI entries for '%s' with %d node(s)", nickname, len(filesglob) if filesglob else 0)
4241
if filesglob:
42+
logging.info("Generating CDI entries for '%s' with %d node(s)", nickname, len(filesglob) if filesglob else 0)
4343
rendernodeindex = 0
4444
rendernodelist = [None] * (len(filesglob) + 1)
4545
for rendernode in sorted(filesglob):

0 commit comments

Comments
 (0)