+# -*- coding: utf-8 -*-
"""
Mercurial ui module replacement.
"""
import mercurial.ui
import logging
+
class SilentUI(mercurial.ui.ui):
def __init__(self, *args, **kwargs):
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, **kwargs):
pass