##// END OF EJS Templates
blackbox: unindent "if True" block
Yuya Nishihara -
r40681:fff3e213 default
parent child Browse files
Show More
@@ -127,7 +127,6 def _openlogfile(ui, vfs):
127 newpath=maxfiles > 0 and path + '.1')
127 newpath=maxfiles > 0 and path + '.1')
128 return vfs(name, 'a')
128 return vfs(name, 'a')
129
129
130 if True:
131 class blackboxlogger(object):
130 class blackboxlogger(object):
132 def __init__(self, ui):
131 def __init__(self, ui):
133 self.track = ui.configlist('blackbox', 'track')
132 self.track = ui.configlist('blackbox', 'track')
@@ -164,8 +163,7 if True:
164 return
163 return
165 self._bbinlog = True
164 self._bbinlog = True
166 default = ui.configdate('devel', 'default-date')
165 default = ui.configdate('devel', 'default-date')
167 date = dateutil.datestr(default,
166 date = dateutil.datestr(default, ui.config('blackbox', 'date-format'))
168 ui.config('blackbox', 'date-format'))
169 user = procutil.getuser()
167 user = procutil.getuser()
170 pid = '%d' % procutil.getpid()
168 pid = '%d' % procutil.getpid()
171 formattedmsg = msg[0] % msg[1:]
169 formattedmsg = msg[0] % msg[1:]
General Comments 0
You need to be logged in to leave comments. Login now