From 61e135e211822840731d3153e9b249b6b81a1c21 Mon Sep 17 00:00:00 2001 From: Peter Portante Date: Sat, 5 Oct 2013 11:27:35 -0400 Subject: [PATCH] Fix bad hash_path reference Mea culpa: these two scripts were missed in commit: https://review.openstack.org/46956 Fixes bug 1235441 Change-Id: I4303bc808448a79bddbb991526b0cca26150b392 Signed-off-by: Peter Portante --- bin/swift-get-nodes | 2 +- bin/swift-object-info | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: