Merge "Fix bad hash_path reference"
This commit is contained in:
commit
111ebb9a4b
@ -19,7 +19,7 @@ import sys
|
|||||||
import urllib
|
import urllib
|
||||||
|
|
||||||
from swift.common.ring import Ring
|
from swift.common.ring import Ring
|
||||||
from swift.common.utils import hash_path
|
from swift.common.ondisk import hash_path
|
||||||
|
|
||||||
|
|
||||||
parser = optparse.OptionParser()
|
parser = optparse.OptionParser()
|
||||||
|
@ -20,7 +20,7 @@ from hashlib import md5
|
|||||||
|
|
||||||
from swift.common.ring import Ring
|
from swift.common.ring import Ring
|
||||||
from swift.obj.diskfile import read_metadata
|
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 __name__ == '__main__':
|
||||||
if len(sys.argv) <= 1:
|
if len(sys.argv) <= 1:
|
||||||
|
Loading…
Reference in New Issue
Block a user