summaryrefslogtreecommitdiff
path: root/boto/manage
diff options
context:
space:
mode:
authorMitch Garnaat <mitch@garnaat.com>2012-02-07 07:54:49 -0800
committerMitch Garnaat <mitch@garnaat.com>2012-02-07 07:54:49 -0800
commite76163065a6813b3bd4205918fc6c75b7e526988 (patch)
tree025a725aa175ea030649cc43384294620fe5a690 /boto/manage
parent073c028fa0a31c6a6ff12c54a3060e4cf3412cb0 (diff)
downloadboto-e76163065a6813b3bd4205918fc6c75b7e526988.tar.gz
Remove dependency on dateutils from manage/volume.pyg
Diffstat (limited to 'boto/manage')
-rw-r--r--boto/manage/volume.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/boto/manage/volume.py b/boto/manage/volume.py
index 66a458f6..52c344fe 100644
--- a/boto/manage/volume.py
+++ b/boto/manage/volume.py
@@ -24,11 +24,11 @@ from boto.sdb.db.model import Model
from boto.sdb.db.property import StringProperty, IntegerProperty, ListProperty, ReferenceProperty, CalculatedProperty
from boto.manage.server import Server
from boto.manage import propget
+import boto.utils
import boto.ec2
import time
import traceback
from contextlib import closing
-import dateutil.parser
import datetime
@@ -191,7 +191,7 @@ class Volume(Model):
for snapshot in rs:
if snapshot.volume_id in all_vols:
if snapshot.progress == '100%':
- snapshot.date = dateutil.parser.parse(snapshot.start_time)
+ snapshot.date = boto.utils.parse_ts(snapshot.start_time)
snapshot.keep = True
snaps.append(snapshot)
snaps.sort(cmp=lambda x,y: cmp(x.date, y.date))