1.1 --- a/deducer.py Wed Mar 08 00:49:56 2017 +0100
1.2 +++ b/deducer.py Wed Mar 08 14:53:01 2017 +0100
1.3 @@ -943,8 +943,7 @@
1.4
1.5 # Get aliased names with details of their accesses.
1.6
1.7 - for name_path, all_aliases in self.importer.all_aliased_names.items():
1.8 - path, name = name_path.rsplit(".", 1)
1.9 + for (path, name), all_aliases in self.importer.all_aliased_names.items():
1.10
1.11 # For each version of the name, obtain the access location.
1.12
1.13 @@ -1714,12 +1713,11 @@
1.14 None if no such references exist.
1.15 """
1.16
1.17 - location, name, attrnames, version = access_location
1.18 - path = get_name_path(location, name)
1.19 + path, name, attrnames, version = access_location
1.20
1.21 # Use initialiser information, if available.
1.22
1.23 - refs = self.importer.all_initialised_names.get(path)
1.24 + refs = self.importer.all_initialised_names.get((path, name))
1.25 if refs and refs.has_key(version):
1.26 return refs[version]
1.27 else: