changeset 1382:d996850ac4e8

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.
author Sean Farley <sean.michael.farley@gmail.com>
date Mon, 24 Mar 2014 11:20:58 -0500
parents 2522049c6bed
children 73c76f99ca08
files hgsubversion/maps.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)