Changes between Initial Version and Version 2 of Ticket #31734


Ignore:
Timestamp:
Jun 22, 2020, 5:21:55 PM (5 years ago)
Author:
Rich Rauenzahn
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31734 – Description

    initial v2  
    2828('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'>)
    2929
    30 # But "warning" passed to warning.warn() is the tuple... 
     30# But "warning" passed to warnings.warn() is the tuple... 
    3131
    3232ipdb> warning
     
    3535}}}
    3636 
    37 I think it should be passing warning.warn(warning[0], warning[1])  or warning.warn(*warning)
     37I think it should be passing warnings.warn(warning[0], warning[1])  or warnings.warn(*warning)
    3838
    3939Django 2.2.13 is what I am using.
Back to Top