appy.gen: minor bufgixes.

This commit is contained in:
Gaetan Delannay 2012-03-02 15:42:22 +01:00
parent 7d605d1fbb
commit 91d3887847
3 changed files with 7 additions and 5 deletions

View file

@ -1898,7 +1898,8 @@ class Ref(Type):
self.back.unlinkObject(tool.getObject(refs[i]), obj)
i -= 1
# Link new objects
self.linkObject(obj, objects)
if objects:
self.linkObject(obj, objects)
def clone(self, forTool=True):
'''Produces a clone of myself.'''