Revision 2f35d7a9 snf-common/synnefo/lib/commissioning/specificator.py

b/snf-common/synnefo/lib/commissioning/specificator.py
644 644
        return self.input_canonicals.keys()
645 645

  
646 646
    def call_docs(self):
647
        get_input_canonical = self.input_canonical
647 648
        for call_name, call_doc in self.doc_strings.iteritems():
649
            if not call_doc:
650
                canonical = get_input_canonical(call_name)
651
                call_doc = canonical.tostring(showopts=1, multiline=1)
648 652
            yield call_name, call_doc
649 653

  
650 654
    def get_doc(self, name):

Also available in: Unified diff