fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
turn off previews
[redakcja.git]
/
lib
/
vstorage
/
hgui.py
diff --git
a/lib/vstorage/hgui.py
b/lib/vstorage/hgui.py
index
bae3f09
..
f84f5fb
100644
(file)
--- a/
lib/vstorage/hgui.py
+++ b/
lib/vstorage/hgui.py
@@
-1,16
+1,18
@@
+# -*- coding: utf-8 -*-
"""
"""
- Mercurial ui module replacement.
+ Mercurial ui module replacement.
"""
import mercurial.ui
import logging
"""
import mercurial.ui
import logging
+
class SilentUI(mercurial.ui.ui):
def __init__(self, *args, **kwargs):
super(SilentUI, self).__init__(*args, **kwargs)
class SilentUI(mercurial.ui.ui):
def __init__(self, *args, **kwargs):
super(SilentUI, self).__init__(*args, **kwargs)
- # make sure this doesn't collide with anything in Mercurial
+ # make sure this doesn't collide with anything in Mercurial
self.__logger = logging.getLogger('mercurial')
def _is_trusted(self, fd, filename):
self.__logger = logging.getLogger('mercurial')
def _is_trusted(self, fd, filename):
@@
-51,7
+53,8
@@
class SilentUI(mercurial.ui.ui):
return text
def traceback(self, exc=None):
return text
def traceback(self, exc=None):
- if exc is not None: self.__logger.exception()
+ if exc is not None:
+ self.__logger.exception()
- def progress(self, *args):
+ def progress(self, *args
, **kwargs
):
pass
pass