diff --git a/bin/swift-get-nodes b/bin/swift-get-nodes index 279f8d8262..ddda06881b 100755 --- a/bin/swift-get-nodes +++ b/bin/swift-get-nodes @@ -19,7 +19,7 @@ import sys import urllib from swift.common.ring import Ring -from swift.common.utils import hash_path +from swift.common.ondisk import hash_path parser = optparse.OptionParser() diff --git a/bin/swift-object-info b/bin/swift-object-info index dae58c194f..13a4b6703a 100755 --- a/bin/swift-object-info +++ b/bin/swift-object-info @@ -20,7 +20,7 @@ from hashlib import md5 from swift.common.ring import Ring from swift.obj.diskfile import read_metadata -from swift.common.utils import hash_path +from swift.common.ondisk import hash_path if __name__ == '__main__': if len(sys.argv) <= 1: