diff hgext/bugzilla.py @ 34917:ee9243715c59 stable

registrar: host "dynamicdefault" constant by configitem object This is the common pattern seen in the other registrar classes.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 21 Oct 2017 13:13:20 +0900
parents 00cf44b7baa9
children b45a9d121b53
line wrap: on
line diff
--- a/hgext/bugzilla.py	Sat Oct 21 13:04:58 2017 +0900
+++ b/hgext/bugzilla.py	Sat Oct 21 13:13:20 2017 +0900
@@ -301,7 +301,6 @@
 from mercurial.node import short
 from mercurial import (
     cmdutil,
-    configitems,
     error,
     mail,
     registrar,
@@ -354,7 +353,7 @@
     default='localhost',
 )
 configitem('bugzilla', 'notify',
-    default=configitems.dynamicdefault,
+    default=configitem.dynamicdefault,
 )
 configitem('bugzilla', 'password',
     default=None,