Browse Source

🔨 Fix config-labels.py

Scott Lahteine 2 years ago
parent
commit
8a3ad7abcc
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      buildroot/share/scripts/config-labels.py

+ 2
- 2
buildroot/share/scripts/config-labels.py View File

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():

Loading…
Cancel
Save