delete_pattern only if there are any keys to delete
delete_pattern only if there are any keys to delete

if the pattern doesn't yield any keys error is thrown:
ERR wrong number of arguments for 'del' command
yanheng/django-redis,lucius-feng/django-redis,zl352773277/django-redis,GetAmbassador/django-redis,smahs/django-redis