diff --git a/lib/rucio/rse/protocols/gfal.py b/lib/rucio/rse/protocols/gfal.py index 580cddaf60..127f11864d 100644 --- a/lib/rucio/rse/protocols/gfal.py +++ b/lib/rucio/rse/protocols/gfal.py @@ -394,6 +394,9 @@ def stat(self, path): ret['filesize'] = stats[7] + if not self.rse.get('verify_checksum', True): + return ret + message = "\n" try: ret[PREFERRED_CHECKSUM] = ctx.checksum(path, str(PREFERRED_CHECKSUM.upper()))