need to define email that is used a few lines below
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 15 Sep 2011 03:57:29 +0000 (05:57 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 15 Sep 2011 03:57:29 +0000 (05:57 +0200)
sfa/plc/slices.py

index cb738ad..503ddeb 100644 (file)
@@ -305,7 +305,8 @@ class Slices:
         users_dict = {}
         for user in users:
             if 'email' in user:     
-                user['email'] = user['email'].lower()
+                email = user['email'].lower()
+                user['email'] = email
             elif 'urn' in user:
                 email = Xrn(user['urn']).get_leaf() + "@geni.net"
                 email = email.lower()