equal
deleted
inserted
replaced
226 |
226 |
227 try: |
227 try: |
228 if self._output == b'blackbox': |
228 if self._output == b'blackbox': |
229 self._fp = util.stringio() |
229 self._fp = util.stringio() |
230 elif self._output: |
230 elif self._output: |
231 path = self._ui.expandpath(self._output) |
231 path = util.expandpath(self._output) |
232 self._fp = open(path, b'wb') |
232 self._fp = open(path, b'wb') |
233 elif pycompat.iswindows: |
233 elif pycompat.iswindows: |
234 # parse escape sequence by win32print() |
234 # parse escape sequence by win32print() |
235 class uifp(object): |
235 class uifp(object): |
236 def __init__(self, ui): |
236 def __init__(self, ui): |