def getGerber(self, flashes=True):
        if flashes == True:
            gerber = (self._preamble+
                      self._flattened_commands+
                      self._flashes+
                      self._postamble)
        else:
            gerber = (self._preamble+
                      self._flattened_commands+
                      self._postamble)
        
        return gerber
Returns the number of layers within the data source.
dataset/ETHPy150Open boldport/pcbmode/pcbmode/utils/gerber.py/Gerber.getGerber--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/gis/gdal/datasource.py/DataSource.__len__