mickt committed b812696

move import of re to function as it can get called by pdt signals leaving re=None

  • Participants
  • Parent commits 18528fe

Comments (0)

Files changed (1)


-# python imports
-import re
 # django imports
 from django.core.cache import cache
 from django.db import models
     def get_notification_emails(self):
         """Returns the notification e-mail addresses as list
+        import re
         adresses = re.split("[\s,]+", self.notification_emails)
         return adresses