Пример #1
0
 def addLink(self, generic, physical):
     generic = unicode(generic)
     checkIdentifier(generic)
     physical = unicode(physical).strip()
     if physical:
         physical = self.createPhysical(physical)
     else:
         physical = None
     self[generic] = physical
Пример #2
0
 def createPhysical(self, name):
     checkIdentifier(name)
     return name