Skip to content

Commit

Permalink
Modify to apply a dependency package update
Browse files Browse the repository at this point in the history
  • Loading branch information
thombashi committed Apr 23, 2017
1 parent 1597072 commit a1d7dfb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion datetimerange/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,8 @@ def truncate(self, percentage):
self.__end_datetime -= discard_time

def __validate_value(self, data_prop):
if data_prop.typecode not in [dp.Typecode.DATETIME, dp.Typecode.NONE]:
if data_prop.typecode not in [
typepy.Typecode.DATETIME, typepy.Typecode.NONE]:
raise ValueError("invalid datetime value: {}".format(data_prop))

@staticmethod
Expand Down
1 change: 1 addition & 0 deletions requirements/docs_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
path.py
readmemaker>=0.3.0
sphinx_rtd_theme
Sphinx
2 changes: 1 addition & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
python-dateutil>=2.6.0
typepy>=0.0.4
typepy>=0.0.6

0 comments on commit a1d7dfb

Please sign in to comment.