Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

py26: datetime.timedelta issue #60

Closed
akaRem opened this issue Oct 29, 2014 · 0 comments
Closed

py26: datetime.timedelta issue #60

akaRem opened this issue Oct 29, 2014 · 0 comments

Comments

@akaRem
Copy link

akaRem commented Oct 29, 2014

installed via pip,
executed via py26 in venv

$ python

Python 2.6.8 (unknown, Mar  9 2014, 22:16:00) 
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
Type "help", "copyright", "credits" or "license" for more information.


$ prospector --version                                                                                                                                                                                                         
prospector 0.7

have an error

$ prospector

Traceback (most recent call last):                                                                                                                                                  
  File "/Users/iremizov/Py26/bin/prospector", line 9, in <module>
    load_entry_point('prospector==0.7', 'console_scripts', 'prospector')()
  File "/Users/iremizov/Py26/lib/python2.6/site-packages/prospector/run.py", line 312, in main
    prospector.execute()
  File "/Users/iremizov/Py26/lib/python2.6/site-packages/prospector/run.py", line 253, in execute
    summary['time_taken'] = '%0.2f' % delta.total_seconds()
AttributeError: 'datetime.timedelta' object has no attribute 'total_seconds'
@carlio carlio closed this as completed in 5b0afdc Oct 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant