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 |
|
|
130 | class blackboxlogger(object): | |
132 |
|
|
131 | def __init__(self, ui): | |
133 |
|
|
132 | self.track = ui.configlist('blackbox', 'track') | |
@@ -164,8 +163,7 if True: | |||||
164 |
|
|
163 | return | |
165 |
|
|
164 | self._bbinlog = True | |
166 |
|
|
165 | default = ui.configdate('devel', 'default-date') | |
167 |
|
|
166 | date = dateutil.datestr(default, ui.config('blackbox', 'date-format')) | |
168 | ui.config('blackbox', 'date-format')) |
|
|||
169 |
|
|
167 | user = procutil.getuser() | |
170 |
|
|
168 | pid = '%d' % procutil.getpid() | |
171 |
|
|
169 | formattedmsg = msg[0] % msg[1:] |
General Comments 0
You need to be logged in to leave comments.
Login now