changeset 1386:8bd40916106f

maps: remove unneeded __init__ code from author map
author Sean Farley <sean.michael.farley@gmail.com>
date Mon, 24 Mar 2014 11:20:59 -0500
parents 9139d9295a36
children b9975bc80bb6
files hgsubversion/maps.py
diffstat 1 files changed, 1 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/maps.py
+++ b/hgsubversion/maps.py
@@ -91,19 +91,11 @@ class AuthorMap(BaseMap):
         The path argument is the location of the backing store,
         typically .hg/svn/authors.
         '''
-        self.meta = meta
         self.defaulthost = ''
         if meta.defaulthost:
             self.defaulthost = '@%s' % meta.defaulthost.lstrip('@')
 
-        self.super = super(AuthorMap, self)
-        self.super.__init__()
-        self.load(self.meta.authormap_file)
-
-        # append authors specified from the commandline
-        clmap = util.configpath(self.meta.ui, 'authormap')
-        if clmap:
-            self.load(clmap)
+        super(AuthorMap, self).__init__(meta)
 
     def load(self, path):
         ''' Load mappings from a file at the specified path. '''