# HG changeset patch # User Sean Farley # Date 1395678058 18000 # Node ID d996850ac4e8ee0c8d665d68baf5b9d3b989d2b7 # Parent 2522049c6bed4e8721030ad43d9f3168fb1836e4 maps: call super directly instead of self.super In the next few patches, we're going to remove self.super because it isn't reliable for calling up the parent chain. Instead, we'll save ourselves the headache and change it now. diff --git a/hgsubversion/maps.py b/hgsubversion/maps.py --- a/hgsubversion/maps.py +++ b/hgsubversion/maps.py @@ -114,7 +114,7 @@ class AuthorMap(dict): result = None if search_author in self: - result = self.super.__getitem__(search_author) + result = super(AuthorMap, self).__getitem__(search_author) elif self.meta.mapauthorscmd: cmd = self.meta.mapauthorscmd % author process = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE)