def __getitem__(self, name):
    if name in self.__dict__ and self.__dict__[name] is not None:
      return "%s" % self.__dict__[name]
    else:
      return ""
Return a unicode or str representation of name or "" if not set.
dataset/ETHPy150Open google/transitfeed/transitfeed/gtfsobjectbase.py/GtfsObjectBase.__getitem__