diff --git a/build/lib/cloudstack/utils.py b/build/lib/cloudstack/utils.py index f1fa09d..6ad2aff 100644 --- a/build/lib/cloudstack/utils.py +++ b/build/lib/cloudstack/utils.py @@ -1,6 +1,5 @@ # -*- coding: utf-8 -*- import parsedatetime.parsedatetime as pdt -import parsedatetime.parsedatetime_consts as pdc import datetime import time @@ -69,7 +68,7 @@ def dict2obj(d,use_key=False): return top def datetimeFromString(s): - c = pdc.Constants() + c = pdt.Constants() p = pdt.Calendar(c) result, what = p.parse(s) dt = 0 diff --git a/cloudstack.compute.egg-info/requires.txt b/cloudstack.compute.egg-info/requires.txt index 930a4b5..0c79356 100644 --- a/cloudstack.compute.egg-info/requires.txt +++ b/cloudstack.compute.egg-info/requires.txt @@ -2,6 +2,6 @@ setuptools httplib2 simplejson argparse -prettytable>=0.5 -parsedatetime>=0.8.7 -lxml +prettytable==0.5 +parsedatetime==1.3 +lxml \ No newline at end of file diff --git a/cloudstack/utils.py b/cloudstack/utils.py index f1fa09d..6ad2aff 100644 --- a/cloudstack/utils.py +++ b/cloudstack/utils.py @@ -1,6 +1,5 @@ # -*- coding: utf-8 -*- import parsedatetime.parsedatetime as pdt -import parsedatetime.parsedatetime_consts as pdc import datetime import time @@ -69,7 +68,7 @@ def dict2obj(d,use_key=False): return top def datetimeFromString(s): - c = pdc.Constants() + c = pdt.Constants() p = pdt.Calendar(c) result, what = p.parse(s) dt = 0 diff --git a/dist/cloudstack.compute-0.10.2-py2.7.egg b/dist/cloudstack.compute-0.10.2-py2.7.egg index 2953808..6f41dbe 100644 Binary files a/dist/cloudstack.compute-0.10.2-py2.7.egg and b/dist/cloudstack.compute-0.10.2-py2.7.egg differ diff --git a/setup.py b/setup.py index de552f1..9ed9b04 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ 'simplejson', 'argparse', 'prettytable==0.5', - 'parsedatetime==0.8.7', + 'parsedatetime==1.3', 'lxml', ], entry_points={