summaryrefslogtreecommitdiff
path: root/swift/account/utils.py
diff options
context:
space:
mode:
authorPeter Portante <peter.portante@redhat.com>2013-09-12 15:57:56 -0400
committerPeter Portante <peter.portante@redhat.com>2013-09-17 17:32:04 -0400
commit7760f41c3ce436cb23b4b8425db3749a3da33d32 (patch)
treed68b0402911118fb7eee23ec27ef6592c6b29d19 /swift/account/utils.py
parent8e48dd6b7f88223367aa695265f55d3457009562 (diff)
downloadswift-7760f41c3ce436cb23b4b8425db3749a3da33d32.tar.gz
Refactor common/utils methods to common/ondisk
Place all the methods related to on-disk layout and / or configuration into a new common module that can be shared by the various modules using the same on-disk layout. Change-Id: I27ffd4665d5115ffdde649c48a4d18e12017e6a9 Signed-off-by: Peter Portante <peter.portante@redhat.com>
Diffstat (limited to 'swift/account/utils.py')
-rw-r--r--swift/account/utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/swift/account/utils.py b/swift/account/utils.py
index 5565b4616..919c05c02 100644
--- a/swift/account/utils.py
+++ b/swift/account/utils.py
@@ -17,7 +17,8 @@ import time
from xml.sax import saxutils
from swift.common.swob import HTTPOk, HTTPNoContent
-from swift.common.utils import json, normalize_timestamp
+from swift.common.utils import json
+from swift.common.ondisk import normalize_timestamp
class FakeAccountBroker(object):