Show More
@@ -366,6 +366,9 b" configitem('bugzilla', 'style'," | |||
|
366 | 366 | configitem('bugzilla', 'template', |
|
367 | 367 | default=None, |
|
368 | 368 | ) |
|
369 | configitem('bugzilla', 'timeout', | |
|
370 | default=5, | |
|
371 | ) | |
|
369 | 372 | |
|
370 | 373 | class bzaccess(object): |
|
371 | 374 | '''Base class for access to Bugzilla.''' |
@@ -445,7 +448,7 b' class bzmysql(bzaccess):' | |||
|
445 | 448 | user = self.ui.config('bugzilla', 'user', 'bugs') |
|
446 | 449 | passwd = self.ui.config('bugzilla', 'password') |
|
447 | 450 | db = self.ui.config('bugzilla', 'db') |
|
448 |
timeout = int(self.ui.config('bugzilla', 'timeout' |
|
|
451 | timeout = int(self.ui.config('bugzilla', 'timeout')) | |
|
449 | 452 | self.ui.note(_('connecting to %s:%s as %s, password %s\n') % |
|
450 | 453 | (host, db, user, '*' * len(passwd))) |
|
451 | 454 | self.conn = bzmysql._MySQLdb.connect(host=host, |
General Comments 0
You need to be logged in to leave comments.
Login now