Procházet zdrojové kódy

🔨 Fix config-labels.py

Scott Lahteine před 2 roky
rodič
revize
8a3ad7abcc
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2
    2
      buildroot/share/scripts/config-labels.py

+ 2
- 2
buildroot/share/scripts/config-labels.py Zobrazit soubor

@@ -130,7 +130,7 @@ def process_file(subdir: str, filename: str):
130 130
 		# Note: no need to create output dirs, as the initial copy_tree
131 131
 		# will do that.
132 132
 
133
-		print('  writing ' + outfilepath)
133
+		print('  writing ' + str(outfilepath))
134 134
 		try:
135 135
 			# Preserve unicode chars; Avoid CR-LF on Windows.
136 136
 			with outfilepath.open("w", encoding="utf-8", newline='\n') as outfile:
@@ -140,7 +140,7 @@ def process_file(subdir: str, filename: str):
140 140
 			print('Failed to write file: ' + str(e) )
141 141
 			raise Exception
142 142
 	else:
143
-		print('  no change for ' + outfilepath)
143
+		print('  no change for ' + str(outfilepath))
144 144
 
145 145
 #----------
146 146
 def main():

Loading…
Zrušit
Uložit