Created
April 14, 2015 03:02
-
-
Save clayg/07468e4c5476b87e50e2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/swift/obj/diskfile.py b/swift/obj/diskfile.py | |
index e6f25ee..069d641 100644 | |
--- a/swift/obj/diskfile.py | |
+++ b/swift/obj/diskfile.py | |
@@ -2099,7 +2099,7 @@ class ECDiskFileManager(DiskFileManager): | |
:param frag_index: specifies a specific fragment index .data file | |
:returns: True if the file combination is compliant, False otherwise | |
""" | |
- if frag_index is not None and not accepted_files.get('.data'): | |
+ if not accepted_files.get('.data'): | |
# We may find only a .meta if searching for a specific frag index | |
# that is not present. That does not mean the on disk contract is | |
# broken, so clear the .meta to comply with superclass assertions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment