largefiles: eliminate an unnecessary import of configitems
authorMatt Harbison <matt_harbison@yahoo.com>
Fri, 28 Dec 2018 00:53:58 -0500
changeset 41072 72d4a1761fbc
parent 41071 c81bb97b0cac
child 41073 536beb130f3c
largefiles: eliminate an unnecessary import of configitems Thanks to Yuya for pointing this out.
hgext/largefiles/__init__.py
--- a/hgext/largefiles/__init__.py	Fri Dec 28 00:51:02 2018 -0500
+++ b/hgext/largefiles/__init__.py	Fri Dec 28 00:53:58 2018 -0500
@@ -108,7 +108,6 @@
 
 from mercurial import (
     cmdutil,
-    configitems,
     extensions,
     exthelper,
     hg,
@@ -137,7 +136,7 @@
 eh.merge(proto.eh)
 
 eh.configitem('largefiles', 'minsize',
-    default=configitems.dynamicdefault,
+    default=eh.configitem.dynamicdefault,
 )
 eh.configitem('largefiles', 'patterns',
     default=list,