Try this:
for spin_id in range(1,3):
spinboxes = self.findChildren(QtGui.QDoubleSpinBox, "doubleSpinBox_%d"%spin_id)
if spinboxes:
spinboxes[0].valueChanged.connect(self.bla)
But this code is useful if you have many spinboxes to connect ;)