Pārlūkot izejas kodu

🔨 Fix config-labels.py

Scott Lahteine 2 gadus atpakaļ
vecāks
revīzija
8a3ad7abcc
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2
    2
      buildroot/share/scripts/config-labels.py

+ 2
- 2
buildroot/share/scripts/config-labels.py Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt