Message185316
I think the default behavior of os.path.join() when None is passed as the first argument should be to translate it to '' by default.
>>> import os
>>> os.path.join(None, 'somewhere')
'somewhere'
vs the current
>>> import os
>>> os.path.join(None, 'somewhere')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/posixpath.py", line 68, in join
elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith' |
|
Date |
User |
Action |
Args |
2013-03-27 07:05:17 | hallaj | set | recipients:
+ hallaj |
2013-03-27 07:05:17 | hallaj | set | messageid: <1364367917.65.0.452140902839.issue17556@psf.upfronthosting.co.za> |
2013-03-27 07:05:17 | hallaj | link | issue17556 messages |
2013-03-27 07:05:17 | hallaj | create | |
|