diff --git a/sru/almasru.py b/sru/almasru.py index 1107a0b30f99e79a0bb4029e2e27a2114e6b52a0..eb2c0f90a7b9617096ae37a93c9734a19b295944 100644 --- a/sru/almasru.py +++ b/sru/almasru.py @@ -113,16 +113,12 @@ class RecordRetriever: num_recs = sru_xml.find("srw:numberOfRecords", self.namespaces) - if ( - num_recs is not None and - num_recs.text == '0' - ): + if (num_recs is not None and + num_recs.text == '0'): raise NoRecord('No matching records found!') - elif ( - num_recs is not None and - num_recs.text > '1' - ): + elif (num_recs is not None and + num_recs.text > '1'): raise MultiRecord('More than one record found' 'while exactly one was expected!')