ports/devel/py-dateutils/files/patch-dateutils-datediff.py
Sunpoet Po-Chuan Hsieh dfe855b267 Relax USES=python
- Take maintainership
2018-11-11 18:19:16 +00:00

8 lines
376 B
Python

--- dateutils/datediff.py.orig 2013-05-02 02:45:52 UTC
+++ dateutils/datediff.py
@@ -37,4 +37,4 @@ def main():
if args.holiday_file:
holidays.extend(parse(l) for l in open(args.holiday_file))
kwargs['holidays'] = holidays
- print __import__(args.unit)(end_dt, start_dt, **kwargs)
+ print(__import__(args.unit)(end_dt, start_dt, **kwargs))