Show More
@@ -242,7 +242,8 b' class ui(object):' | |||
|
242 | 242 | def debug(self, *msg): |
|
243 | 243 | if self.debugflag: self.write(*msg) |
|
244 | 244 | def edit(self, text, user): |
|
245 |
(fd, name) = tempfile.mkstemp(prefix="hg-editor-", suffix=".txt" |
|
|
245 | (fd, name) = tempfile.mkstemp(prefix="hg-editor-", suffix=".txt", | |
|
246 | text=True) | |
|
246 | 247 | try: |
|
247 | 248 | f = os.fdopen(fd, "w") |
|
248 | 249 | f.write(text) |
General Comments 0
You need to be logged in to leave comments.
Login now