diff --git a/bin/swift-get-nodes b/bin/swift-get-nodes index 36cfb7ecaa..0f7a742c82 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 da09795db7..b09104cc46 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: