diff src/bridge/bridge_constructor/bridge_contructor.py @ 371:3ea41a199b36

bridge refactoring: categories are now core and plugin instead of communication and request
author Goffi <goffi@goffi.org>
date Wed, 06 Jul 2011 01:04:24 +0200
parents eb9d33ba4e36
children 193fd5995430
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/bridge_contructor.py	Fri Jun 24 17:45:22 2011 +0200
+++ b/src/bridge/bridge_constructor/bridge_contructor.py	Wed Jul 06 01:04:24 2011 +0200
@@ -344,7 +344,7 @@
             completion = {
         'sig_in':function['sig_in'] or '',
         'sig_out':function['sig_out'] or '',
-        'category':'REQ' if function['category'] == 'request' else 'COMM',
+        'category':'PLUGIN' if function['category'] == 'plugin' else 'CORE',
         'name':section, 
         'args':self.getArguments(function['sig_in'], name=arg_doc, default=default )
         }
@@ -419,7 +419,7 @@
             completion = {
         'sig_in':function['sig_in'] or '',
         'sig_out':function['sig_out'] or '',
-        'category':'req' if function['category'] == 'request' else 'comm',
+        'category':'plugin' if function['category'] == 'plugin' else 'core',
         'name':section, 
         'args':self.getArguments(function['sig_in'], name=arg_doc, default=default)
         }