changeset 41072:72d4a1761fbc

largefiles: eliminate an unnecessary import of configitems Thanks to Yuya for pointing this out.
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 28 Dec 2018 00:53:58 -0500
parents c81bb97b0cac
children 536beb130f3c
files hgext/largefiles/__init__.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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,