From 2046f68815e39f25de7e071eb8874efdb377bb19 Mon Sep 17 00:00:00 2001 From: Tal Leming Date: Thu, 29 Dec 2011 22:11:11 +0000 Subject: [PATCH] Removed the weird glyph.getGlyph(glyphName) method. git-svn-id: http://svn.robofab.com/branches/ufo3k@537 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c --- Lib/robofab/objects/objectsBase.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Lib/robofab/objects/objectsBase.py b/Lib/robofab/objects/objectsBase.py index 77059e859..0b26bbfd2 100755 --- a/Lib/robofab/objects/objectsBase.py +++ b/Lib/robofab/objects/objectsBase.py @@ -554,14 +554,6 @@ class BaseGlyph(RBaseObject): pass return "" %(font, glyph) - def getGlyph(self, glyphName): - """Provided there is a font parent for this glyph, return a sibling glyph.""" - if glyphName == self.name: - return self - if self.getParent() is not None: - return self.getParent()[glyphName] - return None - def _saveToGlyphSet(self, glyphSet, glyphName=None, force=False): """Save the glyph to GlyphSet, a private method that's part of the saving process.""" # save stuff in the lib first