edid: Shorten two code snippets.
[libsigrokdecode.git] / exception.c
index 8b508837cffa39a2acf14c8d443daaef92dea6fc..9f8ee4ceb17b028179446b786d53ce318b7fbfb8 100644 (file)
@@ -50,6 +50,7 @@ cleanup:
                PyErr_Clear();
                srd_dbg("Failed to stringify object.");
        }
+
        return str;
 }
 
@@ -80,6 +81,7 @@ cleanup:
                PyErr_Clear();
                srd_dbg("Failed to get object attribute %s.", attr);
        }
+
        return str;
 }