issue 2721 SLS: fix bug with restoring/archiving object in versioned-suspended bucket (null version - is a valid version)
@@ -398,7 +398,7 @@ class S3StorageOperations(StorageOperations):
S3StorageOperations._path_from_s3_format(s3_object["Key"]) if convert_path else s3_object["Key"],
s3_object["LastModified"],
s3_object["StorageClass"],
- s3_object["VersionId"] if 'VersionId' in s3_object and s3_object['VersionId'] != "null" else None
+ s3_object["VersionId"] if 'VersionId' in s3_object else None
)
@staticmethod
