Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

update parsedatetime0.8.7 to 1.3 #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions build/lib/cloudstack/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
import parsedatetime.parsedatetime as pdt
import parsedatetime.parsedatetime_consts as pdc
import datetime
import time

Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions cloudstack.compute.egg-info/requires.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ setuptools
httplib2
simplejson
argparse
prettytable>=0.5
parsedatetime>=0.8.7
lxml
prettytable==0.5
parsedatetime==1.3
lxml
3 changes: 1 addition & 2 deletions cloudstack/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
import parsedatetime.parsedatetime as pdt
import parsedatetime.parsedatetime_consts as pdc
import datetime
import time

Expand Down Expand Up @@ -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
Expand Down
Binary file modified dist/cloudstack.compute-0.10.2-py2.7.egg
Binary file not shown.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
'simplejson',
'argparse',
'prettytable==0.5',
'parsedatetime==0.8.7',
'parsedatetime==1.3',
'lxml',
],
entry_points={
Expand Down