[apycotlib] Correct dependency name call for new ProjectEnvironment format
authorVladimir Popescu <vladimir.popescu@logilab.fr>
Fri, 20 Dec 2013 17:11:25 +0100
changeset 1464 15bd430d1de0
parent 1463 ff9dde49d178
child 1465 737c7090f55e
[apycotlib] Correct dependency name call for new ProjectEnvironment format (dict).
_apycotlib/atest.py
--- a/_apycotlib/atest.py	Wed Feb 26 15:42:03 2014 +0100
+++ b/_apycotlib/atest.py	Fri Dec 20 17:11:25 2013 +0100
@@ -254,7 +254,7 @@
                     'pp': preprocessor.id,}
         if dependency:
             msg + ' on dependency %(pe)s'
-            msg_data['pe'] = penv.name
+            msg_data['pe'] = penv['name']
         self.writer.info(msg % msg_data, path=path)
         try:
             preprocessor.run(self, path)