diff files.py @ 54:1914ae9cfdce

Bug fixes
author Oleg Oshmyan <chortos@inbox.lv>
date Mon, 20 Dec 2010 22:44:34 +0200
parents 4ea7133ac25c
children cd347cfca272
line wrap: on
line diff
--- a/files.py	Mon Dec 20 17:26:34 2010 +0200
+++ b/files.py	Mon Dec 20 22:44:34 2010 +0200
@@ -241,7 +241,7 @@
 			else:
 				return contextlib.closing(file)
 		else:
-			return open(self.real_path)
+			return open(self.real_path, 'rU')
 	
 	def copy(self, target):
 		if self.archive: