# HG changeset patch # User Augie Fackler # Date 1465180174 14400 # Node ID 59d4b24a0f47f45aa4a506df8bf5c484b7dc6cfb # Parent 43df01d36f22ed832fc4407e545e1b26374e7fa6 BaseMap: no longer store a reference to the meta object There's no longer anything that uses it outside __init__. diff --git a/hgsubversion/maps.py b/hgsubversion/maps.py --- a/hgsubversion/maps.py +++ b/hgsubversion/maps.py @@ -14,7 +14,6 @@ class BaseMap(dict): '''A base class for the different type of mappings: author, branch, and tags.''' def __init__(self, meta): - self.meta = meta super(BaseMap, self).__init__() self._ui = meta.ui @@ -26,7 +25,7 @@ class BaseMap(dict): # 'authormap' for the config option self.mapname = self.__class__.__name__.lower() self.mapfilename = self.mapname + '_file' - self._filepath = self.meta.__getattribute__(self.mapfilename) + self._filepath = meta.__getattribute__(self.mapfilename) self.load(self._filepath) # append mappings specified from the commandline