Back to index

plone3  3.1.7
Classes | Functions
DCWorkflow.Guard Namespace Reference

Classes

class  Guard

Functions

def formatNameUnion

Function Documentation

Definition at line 174 of file Guard.py.

00174 
00175 def formatNameUnion(names):
00176     escaped = ['<code>' + escape(name) + '</code>' for name in names]
00177     if len(escaped) == 2:
00178         return ' or '.join(escaped)
00179     elif len(escaped) > 2:
00180         escaped[-1] = ' or ' + escaped[-1]
00181     return '; '.join(escaped)

Here is the caller graph for this function: