Changes between Initial Version and Version 2 of Ticket #31734
- Timestamp:
- Jun 22, 2020, 5:21:55 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31734 – Description
initial v2 28 28 ('Cache key contains characters that will cause errors if used with memcached: ":1:BuildAPI._request:(\'http://buildapi.eng.vmware.com/sb/build/1895757\', expire=10)"', <class 'django.core.cache.backends.base.CacheKeyWarning'>) 29 29 30 # But "warning" passed to warning .warn() is the tuple...30 # But "warning" passed to warnings.warn() is the tuple... 31 31 32 32 ipdb> warning … … 35 35 }}} 36 36 37 I think it should be passing warning .warn(warning[0], warning[1]) or warning.warn(*warning)37 I think it should be passing warnings.warn(warning[0], warning[1]) or warnings.warn(*warning) 38 38 39 39 Django 2.2.13 is what I am using.