mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	re-checkin with "ISO-8859 translation" turned on.
This commit is contained in:
		
							parent
							
								
									b8bf163dde
								
							
						
					
					
						commit
						edab93939e
					
				
					 12 changed files with 58 additions and 58 deletions
				
			
		|  | @ -323,18 +323,18 @@ def openscript(self, filename, lineno=None, charoffset=0, modname=""): | |||
| 				# XXX and that's the last thing we want here. | ||||
| 				f, filename, (suff, mode, dummy) = imp.find_module(modname) | ||||
| 			except ImportError: | ||||
| 				raise W.AlertError, "CanÕt find file for Ò%sÓ" % modname | ||||
| 				raise W.AlertError, "Can¹t find file for ³%s²" % modname | ||||
| 			else: | ||||
| 				if not f: | ||||
| 					raise W.AlertError, "CanÕt find file for Ò%sÓ" % modname | ||||
| 					raise W.AlertError, "Can¹t find file for ³%s²" % modname | ||||
| 				f.close() | ||||
| 			if suff == '.py': | ||||
| 				self.openscript(filename, lineno, charoffset) | ||||
| 				return | ||||
| 			else: | ||||
| 				raise W.AlertError, "CanÕt find file for Ò%sÓ" % modname | ||||
| 				raise W.AlertError, "Can¹t find file for ³%s²" % modname | ||||
| 		else: | ||||
| 			raise W.AlertError, "CanÕt find file Ô%sÕ" % filename | ||||
| 			raise W.AlertError, "Can¹t find file Œ%s¹" % filename | ||||
| 		if lineno is not None: | ||||
| 			editor.selectline(lineno, charoffset) | ||||
| 		return editor | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Just van Rossum
						Just van Rossum